Get Links
get_linksList links on a page with their text and resolved href, optionally filtering by query or collapsing repeated pairs produced by navigation and footers.
Instructions
List links on the page with their text and resolved href. Pass unique to collapse repeated href and text pairs, which navigation and footers produce in bulk.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum links to return | |
| query | No | Case-insensitive substring matched against link text and href | |
| tab_id | No | Arc tab id from list_tabs. Omit to use this agent's current tab. A tool that changes a tab will not fall back to the tab the user is looking at, so pass this or call open_url first. | |
| unique | No | Collapse links with an identical href and text, reporting how many were dropped |