list_prompt_labels
List labels in a workspace or organisation with filters by name, workspace, or organisation. Returns label IDs, names, colors, status, and timestamps to select a label for further operations.
Instructions
List labels across the workspace or organisation, with optional search and scope filters. Returns ids, names, colors, status, and timestamps so you can choose a label_id before get_prompt_label or update_prompt_version.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| search | No | Search labels by name | |
| page_size | No | Results per page (max 100) | |
| current_page | No | Page number for pagination | |
| workspace_id | No | Filter by workspace ID | |
| organisation_id | No | Filter by organisation ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether the tool call succeeded and returned structured data | |
| data | No | Structured success payload when ok is true | |
| error | No | Structured error payload when ok is false |