Deploy a prompt
deploy_promptPublish the prompt's current messages and settings so it can be run with run_prompt and from the API (POST /v1/prompt/invoke with the deployment and variant it returns). Apps already calling it get the new version at once, so call without approved first and with approved: true only after the person says yes.
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": {
"prompt_id": "<prompt_id>"
},
"name": "deploy_prompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| approved | No | ||
| prompt_id | Yes |