assign_tag
Assign a tag to a task or project. Provide either taskId or projectId, not both. The caller must have access to the target entity. Assigning a tag that is already on the target succeeds as a no-op (alreadyAssigned: true in the result).
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": {
"tagId": "<tagId>"
},
"name": "assign_tag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tagId | Yes | Id of the tag to assign. | |
| taskId | No | Assign to this task. Mutually exclusive with projectId. | |
| projectId | No | Assign to this project. Mutually exclusive with taskId. |