tap_fix
Repair broken taps by diagnosing page issues, detecting auth walls, and generating targeted patches to restore browser automation.
Instructions
Diagnose and repair a broken tap. Runs tap.doctor first, then collects page-level diagnostics (current DOM vs expected selectors, auth wall detection, redirect analysis). Returns the same shape as tap.doctor plus repair-specific fields: {diagnostics:{currentSnapshot, expectedSelectors, authWall, suggestions[]}, patches[]}. Free tier gets diagnostics only; Pro tier gets AI-generated fix proposals. Use when tap.doctor returns verdict=broken.
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": {
"site": "<site>",
"name": "<name>"
},
"name": "tap_fix"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Tap name | |
| site | Yes | Site | |
| timeout | No | Timeout in ms |