Read a YAML value (lossless)
noyalib_getRead a YAML value at a dotted or indexed path, returning the exact source slice with original formatting, comments, and quoting preserved for inspection.
Instructions
Read the YAML value at a dotted/indexed path in the given file and return the source slice exactly — no re-quoting, no canonicalisation, comments and formatting preserved. Use this to inspect a value before changing it; use noyalib_set to write a value back losslessly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Path to the YAML file on disk. | |
| path | Yes | Dotted/indexed path into the YAML, e.g. `server.host` or `items[0].name`. |