Get a category group
get_category_groupRetrieve a single category group and all its categories from a YNAB plan using the plan ID and category group ID.
Instructions
Returns a single category group with its categories. Derived from GET /plans/{plan_id}/categories (there is no single-group GET endpoint).
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": {
"plan_id": "<plan_id>",
"category_group_id": "<category_group_id>"
},
"name": "get_category_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan_id | Yes | The id of the plan (formerly "budget"). Use "last-used" for the most recently used plan, or "default" if default plan selection is enabled for this token. | |
| category_group_id | Yes |