Get JobStreet search counts
get_search_countsRetrieve facet counts by classification, work type, and location for a job search without fetching listings, letting you evaluate filters before running the search.
Instructions
Get facet counts (by classification, work type, location) for a search without fetching jobs. Accepts the same filters as search_jobs. Classification and work type IDs are labelled; unknown location IDs are left unnamed.
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": "get_search_counts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sortBy | No | Sort order. Default relevance. | |
| keywords | No | Free-text keywords, e.g. 'software engineer'. | |
| location | No | Location text sent as `where`, e.g. 'Central Region', 'Jurong', 'Singapore'. See suggest_locations. | |
| salaryMax | No | Maximum pay in SGD for salaryType. Omit for no upper bound. | |
| salaryMin | No | Minimum pay in SGD for salaryType. | |
| workTypes | No | Work types (OR). Omit for any. | |
| salaryType | No | Pay period that salaryMin/salaryMax refer to. Defaults to 'monthly' when a salary bound is given. | |
| listedWithinDays | No | Only jobs listed within the last N days (1, 3, 7, 14 or 31). | |
| workArrangements | No | Work arrangements (OR). Omit for any. | |
| classificationIds | No | Top-level classification IDs (OR). Use list_classifications to find IDs. | |
| subclassificationIds | No | Subclassification IDs (OR), e.g. '6290' = Engineering - Software. IDs come from search_jobs results (classification.subclassificationId); list_classifications explains. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| counts | Yes | ||
| searchUrl | Yes |