google_mock
Intercept and mock browser responses via CDP Fetch to test frontend handling of server errors, custom statuses, or bodies.
Instructions
拦截并伪造响应(CDP Fetch),用于调试前端如何响应服务端异常。op=set/status/off。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "google_mock"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | No | ||
| body | No | ||
| rules | No | ||
| status | No | ||
| tab_id | No | ||
| patterns | No | ||
| hit_count | No | ||
| content_type | No |