create_prompt_label
Create a prompt label to tag prompt versions as production, staging, or experiments; set organization or workspace scope and return the 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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>"
},
"name": "create_prompt_label"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the label | |
| color_code | No | Hex format, e.g. '#FF5733'. Optional — omit for default color. | |
| description | No | Description of the label | |
| workspace_id | No | Workspace ID to create the label in | |
| organisation_id | No | Organisation ID to create the label in |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Call succeeded | |
| data | No | Success payload | |
| error | No | Failure details |