run_command
Execute commands with automatic protection, timeout, and logging to prevent dangerous actions.
Instructions
执行命令前必须调用此工具(自动添加保护)
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_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | 要执行的命令 | |
| timeout | No | 超时时间(秒) |