rename_prompt
Fix typos in prompt names or change version without altering other details. Requires prompt ID, new name, and version.
Instructions
Change an existing prompt's name + version (Pro+ only, POST /v1/prompts/:id/rename). Main use is typo fixes ('customer_supprt' to 'customer_support'). Collision with an existing (name, version) in the account = 409. Since update_prompt never changes name/version by contract, rename is a separate tool for semantic separation.
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": {
"promptId": "<promptId>",
"name": "<name>",
"version": "<version>"
},
"name": "rename_prompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | New name ([A-Za-z0-9][A-Za-z0-9_-]{0,63}) | |
| version | Yes | New version ([A-Za-z0-9][A-Za-z0-9._-]{0,63}) | |
| promptId | Yes | Target prompt id (list_prompts.prompts[].id) |