list_prompt_labels
List prompt labels across a workspace or organization using optional search and scope filters. Returns label details such as id, name, color, and status to select a label for prompt 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 |
|---|---|---|---|
| organisation_id | No | Filter by organisation ID | |
| workspace_id | No | Filter by workspace ID | |
| search | No | Search labels by name | |
| current_page | No | Page number for pagination | |
| page_size | No | Results per page (max 100) |
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 |