Cost of Living
CostofLivingCost of Living: Cost of Living is a cost of living API that provides index values for US regions based on major metropolitan area data. Compare the relative cost of living between states or cities, each mapped to its Census region, and calculate salary equivalents for relocation decisions on paid plans. (Cost: 2 credits)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "CostofLiving"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Destination location to compare against | |
| from | No | Origin location (state name, code, or major city) | |
| salary | No | Current salary to calculate equivalent in destination | |
| location | No | State name, state code (e.g., CA, NY), or major city name. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | Error message, null on success | |
| status | No | "ok" on success |