arm_network
Turn network capture on for the active tab BEFORE the next navigate, so load-time requests are caught instead of missed (get_network alone only starts capturing when first called, after the load). Pass on:true to arm, on:false to disarm. Off by default: attaching the DevTools protocol is a detectable automation signal some sites watch for, so arm only when you specifically need load-time traffic. Arming persists across that tab's navigations.
Example#
Call this MCP tool with the argument object below. Replace illustrative IDs, selectors, local paths, and project URLs with values observed in your session.
{
"on": true
}Usage notes#
Arm before navigation or the action you need to inspect. Earlier uncaptured traffic is unavailable. Capture uses a debugging connection that sites may detect.
Result#
Reports whether network capture is armed for the selected tab. Capture persists across that tab's navigations.
Results arrive in MCP content blocks. Most structured results are JSON in text blocks; image tools can include image blocks. Handle errors and partial or truncated data. No formal output schema is declared for this tool.
Parameters#
| Parameter | Type | Required | Description |
|---|---|---|---|
on | boolean | No | true to arm capture before navigate (default), false to disarm |
tab | string | No | Tab name or id in your workspace; does not change the visible tab. minLength: 1 |
Full input schema#
The schema includes nested shapes and constraints. Additional semantic constraints can apply at runtime; read the description and usage notes.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"on": {
"description": "true to arm capture before navigate (default), false to disarm",
"type": "boolean"
},
"tab": {
"description": "Tab name or id in your workspace; does not change the visible tab.",
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}Related documentation#
Reference conventions · Agent operating guide · Troubleshooting