get_categories
Retrieve hierarchical spending and income categories. Filter by category ID, name, or date to classify transactions and manage budgets.
Instructions
Get spending/income categories.
Categories are organized hierarchically (parent -> children). Use category IDs to filter records by category.
Args: ctx: MCP context limit: Items per page (1-100, default 50) offset: Items to skip category_id: Filter by exact category ID name: Filter by name (use prefix: contains-i.food) created_at: Filter by creation date (e.g. "gte.2025-01-01") updated_at: Filter by last update date (e.g. "gte.2025-01-01")
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": "get_categories"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| limit | No | ||
| offset | No | ||
| created_at | No | ||
| updated_at | No | ||
| category_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |