Get category details
get_category_detailsRetrieve a category's title, slug, parent, full path, subcategories, open event counts, and trading volume to navigate the category tree and find events.
Instructions
Returns one category: its title, slug, parent, full path from the top-level category, whether it has subcategories and their ids and titles, how many events are open in it and its trading volume. Use it to walk down the category tree; pass a category id (or a child's id) to get_markets categories to list its events. Category ids come from get_categories or from an event's category.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "get_category_details"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Category id, from get_categories or get_markets. | |
| currency_mode | No | Count open events (and children with open events) for "play_money" or "real_money". Omit for play money. |