save_child_category
save_child_categoryCreate or update a child category in Yimu bookkeeping to organize subcategories under a parent category. Specify the category ID to update an existing one or omit it to add a new category.
Instructions
新增或更新二级分类(POST /childCategory/addOrUpdateChildCategory,upsert:带主键为更新)。entity 字段:categoryId 主键;categoryName 名称;iconUrl 图标;parentCategoryId 所属一级分类;positionWeight 排序;hide 隐藏;categoryType 类型
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": "save_child_category"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity | Yes | 二级分类对象 |