get_deployed_prompt
Retrieve the currently deployed prompt version for a given environment by name and label. Returns template, variables, labels, and version for runtime agent use.
Instructions
Resolve and return the prompt version currently deployed to the given environment (name + label) (GET /v1/prompts/resolve, available on Free). The main runtime path for an agent to fetch the "production prompt". Returns that version's template / variables / labels / version. 404 when nothing is deployed.
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>",
"label": "<label>"
},
"name": "get_deployed_prompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Prompt name | |
| label | Yes | Environment label |