execute_command
Execute shell commands with platform-aware adaptations for Linux, macOS, and Windows, enabling cross-platform filesystem operations from a single interface.
Instructions
Execute a shell command (platform-aware)
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 | Command to execute | |
| cwd | No | Working directory (optional) |