list_categories
List every YNAB budget category by group, returning names and IDs for creating transactions. Works with default budget unless a specific budget ID is provided.
Instructions
List all categories for a YNAB budget, grouped by category group.
Returns category names and IDs needed for creating transactions.
Args: budget_id: Budget ID to list categories for. If not provided, uses the default budget.
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": "list_categories"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| budget_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |