bun run docs:tools, so parameter names, types, enums and defaults match the running code. Each example is validated against the tool’s schema when the docs are generated.
Conventions shared by all tools:
tabIdis optional everywhere. Without it the companion uses the calling agent’s own tab or the only usable tab; see Tabs and sharing.refvalues come frombrowser_snapshotordevtools_elements search; see Snapshots and refs.- Search tools take
querywith optionalregex: true, and paginate withoffsetandlimit(default 50). - Long results are clipped; ask for a narrower
query, a specificid, or a higherlimit. - Files are written to
~/.browspark/artifactsunless apathis given.
Browser automation
Developer tools
The exact per-domain picture is in the capability matrix.
