Create a label
create_labelA new label, only when the person asks for one. A label with that name already there is returned as it is. Renaming and deleting stay the person's, in the app. Put it on a document with update_document's labels.
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": "create_label"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| color | No | Hex, one of list_labels' colours. Default: the next one. |