add_snippet
Store a named command as a reusable snippet in the Detour vault, requiring vault edit permission.
Instructions
Save a snippet: a named command (needs vault:edit).
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": {
"name": "<name>",
"command": "<command>"
},
"name": "add_snippet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| command | Yes | The command it runs. |