node_read_file
Read UTF-8 files or specific line ranges from @appliance, @bastion, or TargetNode hosts with SHA-256 hash verification and secret scrubbing for safe remote inspection.
Instructions
Read a UTF-8 file (or line range) from '@appliance', '@bastion', or a TargetNode with SHA-256 hash and secret scrubbing.
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": {
"node": "<node>",
"remote_path": "<remote_path>"
},
"name": "node_read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | Yes | Target node identifier ('@appliance', '@bastion', or TargetNode name). | |
| tx_id | No | Optional stable transaction id. Reuse retrieves the original operation and never replays ambiguous work. | |
| as_root | No | Read with elevated sudo privileges on a Linux TargetNode. | |
| end_line | No | 1-based end line (inclusive, 0 = until end of file). | |
| start_line | No | 1-based start line (inclusive, default: 1). | |
| remote_path | Yes | Path to the file on the remote node. |