browser_mock_response
Intercept network requests by URL pattern and return a predefined mock response, enabling controlled testing of browser scenarios.
Instructions
模拟响应
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"urlPattern": "<urlPattern>",
"response": "<response>"
},
"name": "browser_mock_response"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| response | Yes | ||
| urlPattern | Yes |