get_network_bundle
Pull matching requests and their response bodies in one call, so you don't fetch bodies one at a time. Same filters as get_network (active tab by default; pass all_tabs for every tab), plus each row carries durationMs, ttfbMs, and its initiator. JSON bodies are parsed and returned as objects; other text is truncated. Bodies are capped: max_bodies of them (default 20), each truncated to max_body_chars (default 4000), with a total-size budget on top — when it runs out, fewer full bodies come back and the result says how many were omitted. Set include_bodies to false for rows and timing only.
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.
{
"xhr_only": true,
"limit": 10,
"include_bodies": true
}Result#
Returns filtered requests, timings, and bounded response bodies together. JSON can be parsed; text bodies can be truncated and bodies omitted when budgets are exhausted.
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 |
|---|---|---|---|
url_contains | string | No | See usage and full schema below. |
method | string | No | GET, POST, etc. |
type | string | No | XHR, Fetch, Document, Script, Stylesheet, Image, Font, ... |
xhr_only | boolean | No | Only XHR and Fetch (API calls) |
failed_only | boolean | No | See usage and full schema below. |
status_min | number | No | See usage and full schema below. |
status_max | number | No | See usage and full schema below. |
all_tabs | boolean | No | Include requests from every tab, not just the active one |
limit | number | No | Max rows, default 50, cap 200 |
include_bodies | boolean | No | Fetch response bodies (default true) |
max_bodies | number | No | Max bodies to fetch, default 20, cap 40 |
max_body_chars | number | No | Truncate each body to this many chars, default 4000 |
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": {
"url_contains": {
"type": "string"
},
"method": {
"description": "GET, POST, etc.",
"type": "string"
},
"type": {
"description": "XHR, Fetch, Document, Script, Stylesheet, Image, Font, ...",
"type": "string"
},
"xhr_only": {
"description": "Only XHR and Fetch (API calls)",
"type": "boolean"
},
"failed_only": {
"type": "boolean"
},
"status_min": {
"type": "number"
},
"status_max": {
"type": "number"
},
"all_tabs": {
"description": "Include requests from every tab, not just the active one",
"type": "boolean"
},
"limit": {
"description": "Max rows, default 50, cap 200",
"type": "number"
},
"include_bodies": {
"description": "Fetch response bodies (default true)",
"type": "boolean"
},
"max_bodies": {
"description": "Max bodies to fetch, default 20, cap 40",
"type": "number"
},
"max_body_chars": {
"description": "Truncate each body to this many chars, default 4000",
"type": "number"
},
"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