read-command
Run approved read-only shell commands over SSH to inspect remote files and system state without modifying anything.
Instructions
Execute a READ-ONLY command from an allowlist (ls, cat, grep, find, stat, df, etc.). This tool does NOT modify the system. Prefer this tool for all read operations. Single-line only: a command containing a line break is refused, so upload a multi-line script with sftp-upload and run it by path.
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": "read-command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | Read-only shell command (must be in the allowlist) | |
| profile | No | Profile name |