read_file
Read file contents from a remote system via Webmin. Returns content as a string or an array of lines.
Instructions
Read the contents of a file from the remote system. Can return content as a string or as an array of lines.
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": {
"path": "<path>"
},
"name": "read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the file to read | |
| server | No | Server alias (e.g., 'pi1', 'web-server'). Uses default server if not specified. | |
| as_lines | No | If true, return content as array of lines |