run_snippet
Run a saved snippet inside a specified Detour session to execute commands without typing them again. Provide a snippet name plus session ID or host.
Instructions
Run a saved snippet in a session, like run_command.
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>"
},
"name": "run_snippet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | ||
| name | Yes | The snippet's name. | |
| session_id | No | The session to run it in. Or give `host`. |