snippets_update_snippet
Updates an existing snippet in the Remnawave panel via PATCH /api/snippets. Send confirm:true to apply changes; without it, returns a request preview.
Instructions
PATCH /api/snippets Update snippet Tags: Snippets Controller
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": {
"body": "<body>"
},
"name": "snippets_update_snippet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| confirm | No | Подтверждение выполнения не-GET операции. Без confirm:true возвращается превью запроса (метод, URL, тело) и запрос не отправляется (см. MCP_CONFIRM). |