dev1/src/assets/botTools.json

130 lines
3.1 KiB
JSON

[
{
"name": "getDistanceInMiles",
"description": "Return driving distance and duration between the user ZIP and destination(s)",
"parameters": {
"type": "object",
"properties": {
"userZipcode": {
"type": "string"
},
"destinations": {
"type": "string",
"description": "Pipe-separated lat,lng pairs or addresses"
}
},
"required": [
"userZipcode",
"destinations"
]
}
},
{
"name": "getSchoolsForCIPs",
"description": "Return a list of schools whose CIP codes match the supplied prefixes in the given state",
"parameters": {
"type": "object",
"properties": {
"cipCodes": {
"type": "string",
"description": "Comma-separated CIP prefixes, e.g. \"1101,1103\""
},
"state": {
"type": "string",
"description": "Two-letter state abbreviation, e.g. \"GA\""
}
},
"required": [
"cipCodes",
"state"
]
}
},
{
"name": "addCareerToComparison",
"description": "Add the career with the given SOC code to the comparison table in Career Explorer",
"parameters": {
"type": "object",
"properties": {
"socCode": {
"type": "string",
"description": "Full O*NET SOC code, e.g. \"15-2051\""
}
},
"required": ["socCode"]
}
},
{
"name": "openCareerModal",
"description": "Open the career-details modal for the given SOC code in Career Explorer",
"parameters": {
"type": "object",
"properties": {
"socCode": {
"type": "string",
"description": "Full O*NET SOC code, e.g. \"15-2051\""
}
},
"required": ["socCode"]
}
},
{
"name": "getTuitionForCIPs",
"description": "Return in-state / out-state tuition rows for schools matching CIP prefixes in a given state",
"parameters": {
"type": "object",
"properties": {
"cipCodes": {
"type": "string",
"description": "Comma-separated prefixes, e.g. \"1101,1103\""
},
"state": {
"type": "string",
"description": "Two-letter state code, e.g. \"GA\""
}
},
"required": [
"cipCodes",
"state"
]
}
},
{
"name": "getEconomicProjections",
"description": "Return state and national employment projections for a SOC code",
"parameters": {
"type": "object",
"properties": {
"socCode": {
"type": "string"
},
"state": {
"type": "string",
"description": "Optional state abbreviation"
}
},
"required": [
"socCode"
]
}
},
{
"name": "getSalaryData",
"description": "Return residential area and national salary percentiles for a SOC code",
"parameters": {
"type": "object",
"properties": {
"socCode": {
"type": "string"
},
"area": {
"type": "string",
"description": "User's residential area"
}
},
"required": [
"socCode"
]
}
}
]