Update a category group
update_category_groupRename a YNAB category group by updating its name in a specified plan, keeping budget categories organized via the API.
Instructions
Renames a category group. Covers PATCH /plans/{plan_id}/category_groups/{category_group_id}.
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": "<name>"
},
"name": "update_category_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| 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 |