levelsfyi_histogram
Read Levels.fyi pay distributions by job family and location, returning sample counts, 20 pay buckets, and percentiles for total compensation, base salary, stock, and bonus.
Instructions
Read the Levels.fyi pay distribution for a job family and location. Returns the published pay distribution for one job family in one location: the source's total sample count, its 20 value buckets with the count in each, and the percentile sets it publishes for total compensation, base salary, stock grant and bonus separately. Percentiles the source does not publish for a component stay absent rather than becoming zero. Pass a job_family_slug from levelsfyi-job-families and a location_slug from levelsfyi-locations; the location is required and a location the source has no distribution for 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": {
"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 | |
| job_family_slug | Yes | Job family slug from levelsfyi-job-families |