Build a search request
build_search_requestCheck a set of search filters against the contract and return the exact request for them: method, URL, headers and JSON body for POST /api/jobs/search, a ready-to-run curl command and the equivalent jobo CLI command. It does not send the request: no network call, no key, no cost. Sending the request it returns is billed per job returned, and page_size is the most one call can bill. Parameters are the contract's filter names, not the body's field names: pass work_model, not work_models. An unknown name, a wrong type or a value outside a fixed vocabulary is reported with the nearest valid one, and no request is built. Values of open vocabularies cannot be checked offline; the result names the lookup tool to confirm each with.
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": "build_search_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Free-text query matched against job title and, unless disabled, description. Wrap a phrase in double quotes for an exact title match; prefix a term with "-" to exclude it. Body field: `queries`. | |
| page | No | 1-based page number. Default 1. | |
| sort | No | relevance (default), discovered_asc or discovered_desc. The discovered orders key on the first-indexed time and keep pages stable. One of: relevance, discovered_asc, discovered_desc. Body field: `sort`. | |
| skills | No | Require one or more skills, e.g. Python, Kubernetes. Look values up with `find_filter_values` (facet skills). An array; one string is one value. Body field: `skills.include`. | |
| sources | No | Restrict to specific ATS sources, e.g. greenhouse, lever_co, ashby. Look values up with `find_filter_values` (facet sources). An array; one string is one value. Body field: `sources`. | |
| language | No | Description language, as ISO 639-1 codes ("en", "de"). Names and locales are mapped server-side. An array; one string is one value. Body field: `languages`. | |
| location | No | Free-form location, e.g. "Berlin, Germany" or "Remote". Look values up with `find_locations`. A string, or an array for several places. Body field: `locations`. | |
| companies | No | Only jobs at these companies. Each value is a Jobo company id (GUID), a website domain ("stripe.com") or a whole company name ("Stripe"); ids are exact, names also match every other company of that name. Look values up with `find_companies`. An array; one string is one value. Body field: `companies.include`. | |
| page_size | No | Jobs per page, 1–100 (API default 25). The most the request can bill: every job returned is billed. | |
| industries | No | Restrict to companies in specific industries. Look values up with `find_filter_values` (facet industries). An array; one string is one value. Body field: `industries.include`. | |
| work_model | No | Remote, hybrid or onsite. One of: remote, hybrid, onsite. An array; one string is one value. Body field: `work_models`. | |
| posted_after | No | Only jobs posted by the employer on or after this timestamp. ISO 8601. Body field: `posted_after`. | |
| posted_before | No | Only jobs posted by the employer on or before this timestamp. ISO 8601. Body field: `posted_before`. | |
| exclude_skills | No | Leave out jobs asking for any of these skills. Look values up with `find_filter_values` (facet skills). An array; one string is one value. Body field: `skills.exclude`. | |
| include_facets | No | Facet counts to return alongside the jobs. Omitted: the API's default set (work_model, experience_level, employment_type, sources). An empty array: none. It is a list of facet names, not a boolean. Values: work_model, experience_level, employment_type, sources, industries, skills, countries, company_categories, job_categories, job_subcategories, occupations. | |
| include_fields | No | Heavy job fields to return. Omitted: all of them. An empty array: the core fields only, which keeps responses small. The price is the same either way. Values: description, summary, qualifications, responsibilities, benefits. | |
| job_categories | No | Occupation category names, e.g. "Healthcare" (GET /api/occupations lists them). Case-insensitive. Look values up with `find_filter_values` (facet job_categories). An array; one string is one value. Body field: `job_categories.include`. | |
| max_salary_usd | No | Only jobs whose advertised compensation is at or below this ceiling. Body field: `salary_usd.max`. | |
| min_salary_usd | No | Only jobs whose advertised compensation meets this floor. Body field: `salary_usd.min`. | |
| occupation_ids | No | Occupation ids, e.g. "esco:8d3e8aaa-791b-4c75-a465-f3f827028f50" or "jobo:backend-developer". Ids, not names: names can change. Look values up with `find_filter_values` (facet occupations). An array; one string is one value. Body field: `occupation_ids.include`. | |
| employment_type | No | Full-time, part-time, contract, internship, freelance or temporary. One of: full-time, part-time, contract, internship, freelance, temporary. An array; one string is one value. Body field: `employment_types`. | |
| discovered_after | No | Only jobs Jobo first indexed on or after this timestamp. This is the field polling triggers advance; prefer it over posted_after for incremental sync. ISO 8601. Body field: `discovered_after`. | |
| experience_level | No | Intern through executive. One of: intern, entry, mid, senior, lead, executive. An array; one string is one value. Body field: `experience_levels`. | |
| discovered_before | No | Only jobs Jobo first indexed on or before this timestamp. ISO 8601. Body field: `discovered_before`. | |
| exclude_companies | No | Leave out jobs at these companies (ids, domains or whole names, as for companies). Look values up with `find_companies`. An array; one string is one value. Body field: `companies.exclude`. | |
| job_subcategories | No | Occupation subcategory names, e.g. "Nursing". Case-insensitive. Look values up with `find_filter_values` (facet job_subcategories). An array; one string is one value. Body field: `job_subcategories.include`. | |
| company_categories | No | Hiring company's business model, e.g. b2b, saas, marketplace. Known values: b2b, b2c, b2b2c, b2g, saas, marketplace, e-commerce, service-provider, hardware, agency, nonprofit, government, education. Look values up with `find_filter_values` (facet company_categories). An array; one string is one value. Body field: `company_categories.include`. | |
| description_format | No | markdown (default, as stored), html, or the enhanced description (beta) as enhanced or enhanced_html. One of: markdown, html, enhanced, enhanced_html. Body field: `description_format`. | |
| exclude_industries | No | Leave out companies in any of these industries. Look values up with `find_filter_values` (facet industries). An array; one string is one value. Body field: `industries.exclude`. | |
| search_description | No | Match the query against full descriptions as well as titles. Defaults to true. Body field: `search_description`. | |
| exclude_job_categories | No | Leave out jobs in these occupation categories. Look values up with `find_filter_values` (facet job_categories). An array; one string is one value. Body field: `job_categories.exclude`. | |
| exclude_occupation_ids | No | Leave out jobs with these occupation ids. Look values up with `find_filter_values` (facet occupations). An array; one string is one value. Body field: `occupation_ids.exclude`. | |
| exclude_job_subcategories | No | Leave out jobs in these occupation subcategories. Look values up with `find_filter_values` (facet job_subcategories). An array; one string is one value. Body field: `job_subcategories.exclude`. | |
| exclude_company_categories | No | Leave out companies with any of these business models, e.g. agency. Known values: b2b, b2c, b2b2c, b2g, saas, marketplace, e-commerce, service-provider, hardware, agency, nonprofit, government, education. Look values up with `find_filter_values` (facet company_categories). An array; one string is one value. Body field: `company_categories.exclude`. |