Dea DardanicaDocumentation
Network, events, and healthRead Markdown

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.

json
{
  "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#

get_network_bundle — table 1
ParameterTypeRequiredDescription
url_containsstringNoSee usage and full schema below.
methodstringNoGET, POST, etc.
typestringNoXHR, Fetch, Document, Script, Stylesheet, Image, Font, ...
xhr_onlybooleanNoOnly XHR and Fetch (API calls)
failed_onlybooleanNoSee usage and full schema below.
status_minnumberNoSee usage and full schema below.
status_maxnumberNoSee usage and full schema below.
all_tabsbooleanNoInclude requests from every tab, not just the active one
limitnumberNoMax rows, default 50, cap 200
include_bodiesbooleanNoFetch response bodies (default true)
max_bodiesnumberNoMax bodies to fetch, default 20, cap 40
max_body_charsnumberNoTruncate each body to this many chars, default 4000
tabstringNoTab 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.

json
{
  "$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
}

Reference conventions · Agent operating guide · Troubleshooting