levelsfyi_histogram
Returns the published pay distribution for one Levels.fyi job family in one location: sample count, the source's 20 value buckets, and the percentiles it publishes for total compensation, base salary, stock grant and bonus separately. location_slug is required; a location with no distribution is a not-found. Percentiles the source does not publish stay absent rather than becoming zero.
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": {
"job_family_slug": "<job_family_slug>",
"location_slug": "<location_slug>"
},
"name": "levelsfyi_histogram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| location_slug | Yes | Location slug from levelsfyi-locations, for example united-states; the upstream requires one | |
| job_family_slug | Yes | Job family slug from levelsfyi-job-families, for example software-engineer |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The tool result payload (shape varies per tool; see each tool's docs resource). |