category_update
Update a finance category's name, type, icon, color, parent, or sort order to keep transaction classification accurate and organized.
Instructions
修改分类(名称/类型/图标/颜色/父级)。同用户下 名称+类型 不可重复。userId 可选。
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": {
"id": "<id>"
},
"name": "category_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| icon | No | ||
| name | No | ||
| type | No | ||
| color | No | ||
| userId | No | ||
| parentId | No | ||
| sortOrder | No |