Count jobs in a slice of the market
aggregate_jobsAggregate counts for a filtered slice of the corpus — the tool for market/trend questions ("what kinds of roles are hiring in Pune?"), instead of issuing many limit-1 searches.
Takes the same filters as search_jobs (keyword matching included, see its ``query`` note) and
returns the slice's ``total`` plus breakdowns, each a {value: count} dict, biggest first:
``by_category`` (job function — the role-type axis), ``by_seniority``,
``by_employment_type`` (contract basis and hours in one axis; ``full_time`` is inflated because
a posting silent about its hours is recorded as full-time), ``top_companies``,
``top_skills``, ``by_source``, ``benefits``, ``company_size``, ``lang``, and ``salary`` —
per-currency posting counts with salary_max quartiles (currencies deliberately not blended).
Every count collapses duplicate postings, so numbers are comparable to search totals. A
breakdown on a field you filtered by lists only the values you filtered to.
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": "aggregate_jobs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | ||
| remote | No | ||
| source | No | ||
| company | No | ||
| country | No | ||
| category | No | ||
| location | No | ||
| seniority | No | ||
| salary_min | No | ||
| employment_type | No | ||
| posted_since_days | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||