Delete a prompt
delete_promptPermanently delete a prompt by its ID using the ID returned from list_prompts. Use this to remove prompts you no longer need; deletion cannot be undone through tools.
Instructions
Delete a prompt by its id. This cannot be undone through the tools.
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": {
"id": "<id>"
},
"name": "delete_prompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Prompt ID, as returned by list_prompts |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | Yes | ||
| version | Yes | ||
| persisted | Yes | True when the change was saved to the state directory, false when it is in memory only |