ops_run_command
Submit structured argv commands for remote server diagnostics; read-only checks may run automatically, while changes require human approval before execution.
Instructions
Submit a structured argv command.
Known read-only diagnostics may run automatically. Mutations require external approval. Unknown commands, shell/interpreter launchers, pipelines, and escape primitives are denied. Approval routing is not model-controlled. DingTalk delivery targets come from administrator configuration (or a trusted integration path outside the MCP tool schema).
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": {
"host_id": "<host_id>",
"argv": "<argv>",
"reason": "<reason>"
},
"name": "ops_run_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | ||
| argv | Yes | ||
| reason | Yes | ||
| host_id | Yes | ||
| requester | No | ai |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||