clear_intercepts
Remove network mocks created during testing to restore real backend responses. Optionally clear only those matching a URL pattern.
Instructions
Remove network mocks created by intercept_network — all of them, or only those registered with a given URL pattern. Returns {success}. Use to restore real backend responses after testing mocked states.
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": {
"session_id": "<session_id>"
},
"name": "clear_intercepts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | Session ID | |
| url_pattern | No | Only remove intercepts registered with this exact pattern (optional — omit to clear all) |