delete_parent_category
delete_parent_categoryDelete a first-level category from a Yimu bookkeeping ledger by providing its categoryId and userId. Removes the parent category and associated data.
Instructions
删除一级分类(POST /parentCategory/deleteParentCategory)。entity 需携带主键字段(categoryId)与 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": {
"entity": "<entity>"
},
"name": "delete_parent_category"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity | Yes | 一级分类对象(含主键 categoryId) |