update_query_snippet
Update an existing query snippet by its ID. You can change the SQL content, trigger keyword, or description.
Instructions
Update an existing query snippet
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": {
"snippetId": "<snippetId>"
},
"name": "update_query_snippet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| snippet | No | The SQL snippet content | |
| trigger | No | Trigger keyword for the snippet | |
| snippetId | Yes | ID of the snippet to update | |
| description | No | Description of the snippet |