Update an existing prompt
update-promptUpdate an existing prompt with new information
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>",
"title": "<title>",
"description": "<description>",
"prompt": "<prompt>"
},
"name": "update-prompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The id of the prompt to update | |
| title | Yes | The title of the prompt | |
| prompt | Yes | The acual prompt, it can use variables like this {{variable_name}} that will be substituted when invoked with the respective input | |
| as_tool | No | Whether to expose this prompt also as a tool (other than a prompt) in MCP | |
| description | Yes | The description of the prompt |