Dea DardanicaDocumentation
Network, events, and healthRead Markdown

search_network

Find text anywhere in what this tab's site sent and received: addresses, headers, request bodies, response bodies and WebSocket messages, newest first. Use it to find which request carries a value you see on the page (an id, an email, a price, a token), instead of opening responses one by one. Plain text matches in any letter case; regex:true takes a regular expression. Each match gives the request id, where it was found and the text around it. Capture must already be running on the tab (it starts with the first get_network, arm_network or search_network call).

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
{
  "query": "alice@example.com",
  "in": [
    "response_body",
    "request_body"
  ]
}

Result#

Returns matches, newest first, each with the request id, method, address, status, where the text was found, how many times, and the text around the first hit. Also reports how many requests and response bodies were searched and whether the search stopped early.

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#

search_network — table 1
ParameterTypeRequiredDescription
querystringYesText to look for minLength: 1; maxLength: 500
regexbooleanNoTreat query as a regular expression
inarray of "url" / "request_headers" / "request_body" / "response_headers" / "response_body" / "socket"NoWhere to look; default everywhere
url_containsstringNoOnly requests whose address contains this
all_tabsbooleanNoSearch every tab, not just this one
limitintegerNoMost matches returned, default 30 minimum: 1; maximum: 100
max_bodiesintegerNoMost response bodies read, default 300; 0 skips bodies minimum: 0; maximum: 1000
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": {
    "query": {
      "type": "string",
      "minLength": 1,
      "maxLength": 500,
      "description": "Text to look for"
    },
    "regex": {
      "description": "Treat query as a regular expression",
      "type": "boolean"
    },
    "in": {
      "description": "Where to look; default everywhere",
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "url",
          "request_headers",
          "request_body",
          "response_headers",
          "response_body",
          "socket"
        ]
      }
    },
    "url_contains": {
      "description": "Only requests whose address contains this",
      "type": "string"
    },
    "all_tabs": {
      "description": "Search every tab, not just this one",
      "type": "boolean"
    },
    "limit": {
      "description": "Most matches returned, default 30",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    },
    "max_bodies": {
      "description": "Most response bodies read, default 300; 0 skips bodies",
      "type": "integer",
      "minimum": 0,
      "maximum": 1000
    },
    "tab": {
      "description": "Tab name or id in your workspace; does not change the visible tab.",
      "type": "string",
      "minLength": 1
    }
  },
  "required": [
    "query"
  ],
  "additionalProperties": false
}

Reference conventions · Agent operating guide · Troubleshooting