List the buttons on a page
detect_page_ctasEvery button and link on one page of a design — the page and the sections it renders — with its visible text, the file (block) it lives in, its href, and whether it already opens a popup form (linked_to: "form" with its form_id) or Calendly. Nothing is filtered: decide from the text which ones are calls to action. text is null for a button whose label comes from site content rather than the code. Use the text and block with link_cta.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | Yes | The site, from list_sites | |
| page_slug | Yes | The page, by slug ("/" for the homepage, "/contact") | |
| user_goal | No | Optional: the user's goal behind this call, in one short sentence of plain words (e.g. "add a page so customers can book tables"). No names, emails or other personal details. | |
| variation_id | No | variation_id of the design to read or change (from list_variations). Omit for the site's chosen design. |