18 lines
846 B
Markdown
18 lines
846 B
Markdown
# view_image
|
|
|
|
SDK-provided tool that loads an image from the sandbox workspace and
|
|
returns it as an image content block for vision-capable models.
|
|
|
|
- **Implementation:** `agents.sandbox.capabilities.tools.view_image.ViewImageTool`
|
|
(upstream `agents` SDK)
|
|
- **Wired in:** `strix/agents/factory.py` — added per-run via the SDK
|
|
`Filesystem` capability.
|
|
- **Strix defaults:** screenshots default to
|
|
`/workspace/.agent-browser-screenshots/` via `AGENT_BROWSER_SCREENSHOT_DIR`
|
|
(set in `containers/Dockerfile`; dir is created at container start in
|
|
`containers/docker-entrypoint.sh`).
|
|
- **Skill:** screenshot workflow lives in `strix/skills/tooling/agent_browser.md`.
|
|
- **Recovery:** vision-not-supported model rejections are auto-recovered
|
|
via `strix.core.sessions.strip_all_images_from_session`, invoked from
|
|
`strix/core/execution.py`.
|