list_labels
List all available labels (tags) created by the authenticated user across scopes: PROJECT, COLLECTION, MOCK, RULE. Returns an array of label objects with id, name, color, and type. Use this to discover existing tag names before filtering with list_mocks or tagging mocks in create_mock/update_mock.
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 |
|---|---|---|---|
| type | No | Optional label scope filter. Valid values: 'PROJECT', 'COLLECTION', 'MOCK', 'RULE'. Omit to return labels across all scopes. |