Add a label to a card
add_labelAttach an existing label to a Trello card using the label ID from get_labels.
Instructions
Attach an existing board label to a card. label_id comes from get_labels — label names are not accepted. Adding a label the card already has is a no-op error from Trello, so check get_card first if unsure.
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": {
"card_id": "<card_id>",
"label_id": "<label_id>"
},
"name": "add_label"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| card_id | Yes | Card to label (from get_cards or search_cards). | |
| label_id | Yes | Label id from get_labels (id, not name). |