执行 SSH 命令
ssh_executeExecute arbitrary commands on a remote server via SSH alias, with configurable timeout. Confirm the command's purpose before use, as it may change server state.
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": {
"alias": "<alias>",
"command": "<command>"
},
"name": "ssh_execute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alias | Yes | ||
| command | Yes | ||
| timeout_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||