discover
Discover routes and data sources on a web page or at a given URL by merging DOM elements, network captures, and inferred endpoints into a ranked graph with provenance.
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. |