Remove a category
remove_categoryRemove a category from a LighterPack list. Use force to delete the last remaining category.
Instructions
Removes a category from a list. Fails if it's the list's last category unless force is true.
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": {
"listId": "<listId>",
"categoryId": "<categoryId>"
},
"name": "remove_category"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | ||
| listId | Yes | ||
| categoryId | Yes |