create_label_on_card
Create a label directly on a Trello card with a name and color, avoiding separate board-level label creation.
Instructions
Create a new label directly on a card. Use this tool to add a new label to a card without adding it to the board first.
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": {
"cardId": "<cardId>",
"name": "<name>",
"color": "<color>"
},
"name": "create_label_on_card"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the label | |
| color | Yes | Color of the label, or null for no color | |
| cardId | Yes | ID of the card | |
| fields | No | Specific fields to include in the response. Overrides detailLevel. Use dot notation for nested fields (e.g., 'prefs.permissionLevel') | |
| detailLevel | No | Response detail level. 'minimal' returns only essential fields, 'standard' returns commonly used fields, 'detailed' returns most fields, 'full' returns all fields (default varies by operation type) |