list_prompt_labels
List prompt labels by workspace or organisation with optional search filters. Retrieve IDs, names, colors, status, and timestamps to choose a label_id before updating a prompt version.
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.
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_prompt_labels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| search | No | Search labels by name | |
| page_size | No | Results per page (max 100) | |
| current_page | No | Zero-based page number; the first page is 0 | |
| 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 |