run_cli
Execute shell commands with voice-controlled safety: whitelisted commands run directly, dangerous commands are rejected, and others require confirmation.
Instructions
执行 shell 命令(白名单内直接执行,危险命令拒绝,其余需语音确认)。例句:run_cli(command='dir')
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": {
"command": "<command>"
},
"name": "run_cli"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | ||
| command | Yes |