category_merge
Merge source categories into a target category by migrating their transactions, subcategories, and budgets, then deleting the sources; preview with dry-run first.
Instructions
合并分类:把若干来源分类的交易/子级/预算迁移到目标分类并删除来源。类型必须一致,且目标不能位于来源子树内。dryRun=true 只预览。
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": "category_merge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | ||
| dryRun | No | ||
| userId | No | ||
| targetId | No | ||
| sourceIds | No | ||
| targetName | No | ||
| sourceNames | No | ||
| deleteSource | No |