update_snippet
Update an existing code snippet by modifying its name, description, code, language, or tags using the snippet's ID.
Instructions
Update an existing code 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": {
"id": "<id>"
},
"name": "update_snippet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Snippet ID | |
| name | No | New name | |
| description | No | New description | |
| code | No | New code content | |
| language | No | New language | |
| tags | No | New tags |