intercept_network
Mock network responses to control API data in Flutter tests. Set a URL pattern and response body, or pass null for both to clear.
Instructions
Mocks a network response. Pass null for both to clear.
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": "intercept_network"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| urlPattern | No | ||
| responseBody | No |