discover
Find where information lives on a webpage by analyzing DOM routes and network JSON, with optional navigation and ranking. Use before extraction.
Instructions
High-level cheap-first information discovery. Optionally navigates to a URL, runs light JS, merges DOM routes, inferred form/query URLs, and network JSON routes into one ranked graph with provenance plus route-level escalation hints. Use this when the task is to find where information lives before extracting it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| debug | No | If true, include full nested navigate, route_discover, and network_extract payloads. Default false returns compact summaries. | |
| exec_scripts | No | Run page scripts during navigation when url is provided. Default false; enable when static discovery is insufficient. | |
| goal | No | Optional goal/query used to rank routes and build query URLs. | |
| include_network | No | Include captured network JSON objects and API-like captures. Default true. | |
| limit | No | Max routes to return after dedupe/ranking, 1-200 (default 50). | |
| same_origin | No | If true, only return page-owned routes. | |
| url | No | Optional absolute http(s) URL to navigate before discovery. If omitted, discovers on the current page. |