zshot/cliDownload

--navigator-reference

CLI
--navigator-reference
Value[TITLE=]SOURCE
LicensePro

Gives the navigator a reference document to consult, such as a policy, a rate table or a floor plan. The navigator reads it by number and never navigates to it. Repeatable, up to 20.

SourceRead as
A Markdown or text fileIts text
An HTML file or pageThe rendered page as Markdown
A PDFIts text, opened with --pdf-password when locked
A PNG, JPEG, GIF or WebP imageThe image, when the navigator supports vision
data:<mime>;base64,…By its MIME type, as above

Every reference is loaded when the session starts; entries rejected by a URL rule or that fail to load are skipped with a warning. The navigator sees each reference’s number, title, and kind, and can read up to 4 per step. Text is truncated at 60,000 characters, and URL fetches are capped at 30 seconds and 64 MiB. In server mode, pass http(s) URLs or data: URIs per request in navigator_reference as strings or {"title", "source"} objects; the CLI flag is rejected at server startup.

Example

Run locally
zshot -f cart.png \
  --navigator-type "anthropic://YOUR_API_KEY@" \
  --navigator-reference "Shopping List=./shopping-list.pdf" \
  --navigator-reference https://zshot-cli.com/example_assets/zemu/why-zemu.html \
  --navigate "Add the items on the shopping list to the cart" \
  https://zshot-cli.com/example_assets/zemu/