Search roles
query-jobsSearch live roles with the selectrole SQL dialect (CONTAINS, IN, implicit WHERE). Filter on any column; results are summary cards, and any SELECT column list is ignored. Open the url for full details. Empty sql returns every live role. Newest first already, so add ORDER BY only when asked for another order; a stack filter without it puts the roles mainly done in that technology first; main_stack keeps only those, and each card quotes what its posting says about the technology in mentions. count_only returns just the total, cheap to call before paging. since (ISO 8601) keeps roles published after that moment, oldest first, to see what is new. A query with no match adds a near block: close values or company names, and how many roles match without its most restrictive filter. Those roles do not match the query.
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": "query-jobs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | No | Filter in the selectrole SQL dialect, e.g. workplace = 'remote' AND currency = 'USD' AND salary_min >= 160000 | |
| page | No | 1-based page of results. page × per_page must be 500 or less; refine the query to see other matches. | |
| since | No | ISO 8601 date or time, at most 30 days ago. Keeps roles published after it, oldest first, e.g. 2026-11-01T00:00:00Z. | |
| per_page | No | Page size, 1–50. Defaults to 25. | |
| count_only | No | Return only count, the number of matching roles, with no cards. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | No | The query as run. | |
| url | No | The same query on selectrole. | |
| jobs | No | Absent with count_only. | |
| near | No | Only when nothing matches: close values or company names, and a looser query. Those roles do not match. | |
| page | No | ||
| count | No | Every matching role, not just this page. | |
| error | No | Only on an error result (isError). | |
| since | No | Only when since was passed. | |
| per_page | No |