--navigator-frames
- CLI
- --navigator-frames
- REST
- navigator_frames
Sets how much of each frame ZShot sends to an external navigator: a stdio navigator or an interactive session.
| Value | Each frame after the first holds |
|---|---|
full | Every section |
compact | The sections that changed since the last frame |
MCP sessions default to compact; HTTP sessions and stdio navigators default to full. Model navigators are stateless between calls and reject compact.
A compact frame
- Its first line names the sections that are unchanged. Each still reads as it did in the last frame that showed it.
## Current Stateis in every frame.## Previous Actionsstarts from the first step that differs.## Page Content Changesand## Available Action Types Changesshow small diffs line by line:-for removed,+for added. Large changes, such as navigating to a new page, are sent in full.- A ref such as
@e7names the same element in every frame.
Reply FULL_FRAME to request every section in full. It costs no step and changes nothing on the page.
Example
CLI
Run locally
zshot --navigate "Find the pricing page" \
--navigator-type stdio \
--navigator-frames compact \
-t goal https://zshot-cli.com/