A refusal an agent can read
A refusal an agent can read
When vx refuses, it prints a stable code and a link to the fix. Scripts and agents check the code, not the wording.
vx docs <query> searches the docs for the vx version you run, so the answer matches your binary.
The site shows docs for the newest vx. vx docs searches the docs for
the version you run.
$ vx docs exit codes --limit 1── cli.md § Exit codes · https://vznjs.github.io/vx/cli/watch/#exit-codes
### Exit codes…A query takes about one second, mostly the download (948 to 1,095 ms, two queries, Linux x64, 2026-10-23).
flowchart LR Q[vx docs cache inputs] --> T[docs at your version tag on GitHub] T --> M[sections with every word] M --> R[heading match first] R --> P[print the best 3 whole]
Nothing ships inside vx. --limit changes how many sections print.
| You ask | You get |
|---|---|
vx docs cache inputs |
how a task’s inputs are declared |
vx docs exit codes |
each verb’s exit codes |
vx docs sandbox allow |
what a sandboxed task may touch |
vx docs VX_E_UNKNOWN_TASK |
the fix for that refusal |
vx docs ... --format json |
{query, hits: [{page, heading, url, text}]} |
Offline, it stops with VX_E_NETWORK and names the site. The JSON shape
is schemas/docs.json. Guides stay on the site, indexed in
llms.txt.
Reference: vx docs. More at
vznjs.github.io/vx.