Create or update category
loyverse_upsert_categoryCreate a new category or rename an existing one by passing its id, keeping your product catalogue organized.
Instructions
Create a category, or rename one by passing its id.
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": {
"name": "<name>"
},
"name": "loyverse_upsert_category"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Omit to create. | |
| name | Yes | ||
| color | No |