list_categories
Retrieve all budget categories grouped by category group for a given plan ID. Use this to view and organize spending categories within a YNAB plan.
Instructions
List all categories grouped by category group.
Args: plan_id: The plan ID (use list_plans to find available IDs) exclude_fields: Optional list of field names to exclude from each category group. If omitted, the model's default exclude list is used (see FIELDS.md). Pass [] to return all fields. Pass a custom list to override the default.
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>"
},
"name": "list_categories"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan_id | Yes | ||
| exclude_fields | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |