execute_command
Run shell commands on Linux to automate system administration, software installation, and file management.
Instructions
在 Linux 系统上执行 shell 命令
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": "execute_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | 要执行的 shell 命令 | |
| timeout | No | 命令超时时间(秒,默认 30) | |
| workingDirectory | No | 执行命令的工作目录(可选) |