create_prompt_label
Create a label to tag prompt versions like production or staging. Specify organization or workspace scope to get a new label ID without assigning it to versions.
Instructions
Create a prompt label for tagging prompt versions such as production, staging, or experiment. Requires either organisation_id or workspace_id to set scope, returns the new label id, and does not assign it to any versions yet.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the label | |
| organisation_id | No | Organisation ID to create the label in | |
| workspace_id | No | Workspace ID to create the label in | |
| description | No | Description of the label | |
| color_code | No | Hex format, e.g. '#FF5733'. Optional — omit for default color. |
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 |