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.
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. |