Skip to content

extension_network_read ​

List the network stub rules of a Chromium session, or read which requests hit one or missed.

Quick start ​

Which requests hit the stubbed API so far?

How the agent uses it ​

Answers the rules and the requests seen; extension_network_stub adds or clears rules. Firefox is refused.

Page text in the answer ​

Part of this tool's answer is text a web page or the extension wrote. The server fences it between <untrusted-data-ID> and </untrusted-data-ID> with a fresh random ID per call, named in untrusted.boundary. A fence is a signal to the model, not a gate: pair it with --no-ship when the agent reads pages you do not trust. See Server flags and telemetry.

Reference ​

Groupextras, off unless named: on with --features=local,platform,extras or --features=local,extras
TierTest
Needsthe server started with extras in --features, as in --features=local,platform,extras; a live dev or start session on a Chromium browser
Read onlyyes
Destructiveno
Idempotentyes
Reaches the open webno

Inputs ​

InputTypeRequiredDefaultWhat it does
projectPathstringyesProject root of a running session: extension_dev, extension_start, or npx extension dev|start by hand
action"list" | "requests"no"list"add a rule, list or clear the rules, or requests: which requests hit a rule or missed.
urlstringnoadd: exact URL, or a glob with * and ?.
browserstringnoRunning session's browser; needed when several run.

When it fails ​

  • The call is refused because no session is live. Start one with extension_dev or extension_start and call again.
  • The tool is missing from the client's list, or the call answers E_TOOL_DISABLED. The extras group is off unless named. Start the server with --features=local,platform,extras, or --features=local,extras without the platform tools; see Server flags and telemetry.

Next ​

  • MCP server: install, the three groups and the session gates
  • Install in your client
  • extension_assert: Run a test stage on an extension_dev or extension_start session: pass, fail, not ready (a precondition) or inconclusive per expectation, in one call; extension_dom_snapshot and...
  • extension_network_stub: Add a network stub rule to a Chromium session, or clear the rules.