levelsfyi_company_default_country
Retrieve the default country and currency for a Levels.fyi company to identify its home market, then use the returned country id or slug with salary, histogram, or top-companies tools.
Instructions
Read the country and currency Levels.fyi defaults a company to. Returns the market the source opens a company's salary views in: the country id, country slug, country name and local currency. Use the country id with levelsfyi-salaries or levelsfyi-top-companies, or the slug with levelsfyi-histogram, to read a company in its home market. Pass a company slug from levelsfyi-company-search; an unknown slug is a not-found.
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": {
"slug": "<slug>"
},
"name": "levelsfyi_company_default_country"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Company slug from levelsfyi-company-search |