update_category
Update a budget category's name, type, or description using the category ID or current name.
Instructions
Update an existing category's name, type, or description.
category_id_or_name: ID or current name of the category to update (required).
new_name: Optional new category name.
type: Optional new type ('expense' or 'income').
description: Optional new description string.
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": {
"category_id_or_name": "<category_id_or_name>"
},
"name": "update_category"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | ||
| new_name | No | ||
| description | No | ||
| category_id_or_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |