返回 Skill 列表
extension
分类: 开发与工程无需 API Key

playwright-browser-network-requests

为了检查页面加载以来的网络活动,列出网络请求以审查API调用和资源。

person作者: jakexiaohubgithub

Usage

Use the MCP tool dev-swarm.request to send the payload as a JSON string:

{"server_id":"playwright","tool_name":"browser_network_requests","arguments":{}}

Tool Description

Returns all network requests since loading the page

Arguments Schema

The schema below describes the arguments object in the request payload.

{
  "type": "object",
  "properties": {
    "includeStatic": {
      "type": "boolean",
      "default": false,
      "description": "Whether to include successful static resources like images, fonts, scripts, etc. Defaults to false."
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Background Tasks

If the tool returns a task id, poll the task status via the MCP request tool:

{"server_id":"playwright","method":"tasks/status","params":{"task_id":"<task_id>"}}