search-jobs
Search open jobs on Levels.fyi, with each posting's stated pay range. Returns { jobs, totalMatchingJobs, nextOffset }; each job has title, company, locations, work arrangement, posting date, pay range, url (the Levels.fyi job page) and applyUrl.
Simplify the request to role terms used in job posts. To list every job at a company, pass companySlugs without a query. Use at most one location, and only one the user named (search-locations). Resolve companies and job families with search-companies and search-job-families. If nothing matches, widen the search once; then say so rather than list unrelated jobs.
When the user asks for jobs without a role, offer to search from their profile; only after they agree, call get-profile, and confirm the values before searching.
Up to 2 jobs per company; limit counts companies, or jobs with a single companySlug. Keep paging while nextOffset is not null. Link each title to its url. When the client shows cards, summarise instead of listing them again. get-job has the full description. For a signed-in user, profile.resumeStatus says whether a resume is on file. Array-typed arguments (e.g. companySlugs, jobFamilySlugs) must be passed as arrays, even for a single value.
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": "search-jobs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Companies per page (default 10, max 25). Each returns up to 2 jobs; with one companySlug it is jobs per page. | |
| query | No | Role names and terms that appear in job posts, e.g. "backend engineer". Leave out locations and salary. Optional with companySlugs or jobFamilySlugs: omit it to list all their jobs. | |
| offset | No | Pass the previous result's nextOffset to get the next page. | |
| sortBy | No | relevance | |
| companySlugs | No | Company slugs from search-companies, at most 5. | |
| locationSlug | No | One location slug from search-locations (city, metro, state or country). Only a location the user named. | |
| jobFamilySlugs | No | Job family slugs from search-job-families, at most 10. | |
| standardLevels | No | ||
| employmentTypes | No | ||
| postedWithinDays | No | Only jobs posted in the last N days. | |
| workArrangements | No | ||
| minBaseCompensation | No | Minimum base salary, compared with the top of the posting's range as posted (most postings are USD). | |
| minTotalCompensation | No | Minimum total compensation, compared with the top of the posting's range. |