assign_label
Assign an existing label to a Shopmonkey entity, such as an Order or Customer, by providing label ID, entity type, and entity ID.
Instructions
Assign an existing label (found via list_labels) to an entity such as an Order or Customer.
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": {
"labelId": "<labelId>",
"entity": "<entity>",
"entityId": "<entityId>"
},
"name": "assign_label"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity | Yes | The type of entity to assign the label to (e.g. "Order") | |
| labelId | Yes | The ID of the label to assign | |
| entityId | Yes | The ID of the entity to assign the label to |