execute_command
Execute shell commands on remote Linux servers through SSH, capturing stdout, stderr, and exit code for AI-driven development environments.
Instructions
Execute a shell command on the remote server. Returns stdout, stderr, and exit code.
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 | The shell command to execute | |
| workingDirectory | No | Optional working directory (defaults to home directory) |