Labels
list_labelsList the organization's labels (gig types, task tags, contact tags and the like) with their groups, colors and the kinds of item each can go on. Pass entity_type to see only the labels that apply to that kind of item. Archived labels are left out unless include_archived is true. Any organization member can read them.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_labels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_type | No | filter to labels that apply to this kind of item; omit to list labels for every kind | |
| organization_id | No | organization to act in, an id from get_me; omit to use your active organization | |
| include_archived | No | true also lists archived labels |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | true on success (including confirmation_required prompts) | |
| data | No | the API response { status (HTTP status), data: { groups [{ id, name, description, selection_mode, applies_to, system_key, sort_order, archived, and 1 more field }], labels [{ id, group_id, name, description, color, applies_to, sort_order, archived, and 2 more fields }] } } | |
| error | No | when ok is false |