update_prompt
Update a stored AI prompt by its ID to change its name, tags, type, or detailed content, keeping prompt collections accurate.
Instructions
Update an existing prompt in the database
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": "update_prompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New name for the prompt (optional) | |
| tags | No | New list of tags for the prompt (optional) | |
| type | No | New type for the prompt (optional). Use the list_all_types tool to check existing types. | |
| prompt_id | Yes | ID of the prompt to update | |
| detailed_prompt | No | New detailed content for the prompt (optional) |