levelsfyi_locations
Resolves one to twenty comma-separated Levels.fyi location slugs into their numeric id, type, display name, state, ISO country code, currency and default salary interval. Use it to get the country_id that levelsfyi_salaries and levelsfyi_top_companies accept, or the location_slug that levelsfyi_histogram requires. The source resolves the batch as a unit, so a slug it does not know fails the whole call rather than returning a partial set.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"slugs": "<slugs>"
},
"name": "levelsfyi_locations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slugs | Yes | Comma-separated location slugs from levelsfyi-locations, up to 20; for example united-states or seattle-wa |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The tool result payload (shape varies per tool; see each tool's docs resource). |