create_label
Create a task label, optionally placing it in an existing or new label group; requires Marvin's Task Labels strategy enabled.
Instructions
Create a label (optionally inside an existing or new label group).
Requires the Task Labels strategy to be enabled in Marvin.
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": {
"title": "<title>"
},
"name": "create_label"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | #RRGGBB | |
| group | No | existing label group (name or id) | |
| title | Yes | ||
| new_group | No | create this group and put the label in it | |
| new_group_exclusive | No | only one label of the new group per task |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group | No | ||
| title | Yes | ||
| parent | No | ||
| created | Yes | id of the new item |