read_file
Read a text file up to 1 MB from a remote host over SSH, using relative paths from the home directory. Use it to inspect configs or logs without opening an interactive shell.
Instructions
Read a text file on a host (up to 1 MB).
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": "<host>",
"path": "<path>"
},
"name": "read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| path | Yes | A path on the host; relative paths start at the home directory. |