get_categories
Retrieve Google Trends category IDs and names for use in trend queries. Search by category name or page through results with offset and limit to get the correct cat parameter.
Instructions
Return a bounded page of Google Trends category IDs and names for use in the cat parameter of trend tools. Use query to find categories by name and offset/limit to page through broader results; do not guess category IDs.
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_categories"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum categories to return in this page. | |
| query | No | Optional case-insensitive substring to match against category names. | |
| offset | No | Zero-based offset into the filtered category list. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |