extract_api_data
Navigate to a URL and capture all API/XHR responses, returning parsed JSON data. Optionally filter by URL pattern and extract specific fields.
Instructions
Navigate to URL and capture all API/XHR responses. Returns parsed JSON data.
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": {
"url": "<url>"
},
"name": "extract_api_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL to navigate to | |
| tabId | No | Tab ID (optional) | |
| timeout | No | Timeout in ms | |
| apiPattern | No | Filter API calls by URL pattern (e.g., "*api*", "*.json") | * |
| extractFields | No | Specific JSON fields to extract (dot notation: "user.name") | |
| waitForSelector | No | Wait for element before capturing |