manage_lead_magnet_links
Pro+. Your standalone lead-magnet links (leads.sh/): list, create, and edit them, so a full post → capture link → automation flow works without opening the app. 'list' returns each link's public url, destination_url, email-gate flag (requires_email), and any attached automation_id or Page (page_id). 'create' mints a new leads.sh link for a destination_url; attach a page_id to email-gate it; the link inherits that Page's gate settings (message, button text, name requirement) and quiz, exactly like the dashboard. 'edit' changes destination_url or requires_email, or attaches/detaches a Page (attaching re-inherits its gate settings). When the account has a connected custom domain, url is on that domain and leads_sh_url is the leads.sh form to put in DM templates (the DM goes out with the custom domain). To read the emails a link's Page captured, pass that page_id to get_page_leads.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "manage_lead_magnet_links"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | list: page number for pagination (default 1). | |
| limit | No | list: links per page (1-100, default 20). | |
| act_as | No | APEX+ or admin act_as (optional): operate this tool AS one of your managed profiles — pass that profile's LeadShark account email (see list_profiles). Requires an active delegation from the profile owner plus an APEX+ plan or admin act_as enabled by LeadShark (which runs on the profile's own plan); anything else is refused with a reason, never silently redirected. The action runs under the managed profile's own budgets, approval queue, and action log. With a Team key, act_as is required on every call and must be one of the key's accounts (list_profiles); the call must also be within the permission groups the key has on that account, or it's refused with permission_missing. Hourly/daily limits are that profile's own. | |
| action | No | 'list' (default), 'create', or 'edit'. | |
| link_id | No | edit (required): the link's id, from the list action. | |
| page_id | No | create/edit: attach a published Page (id from list_lead_pages) to email-gate the link with that Page's settings. On edit, pass null to detach. | |
| automation_id | No | create: attach the link to one of your automations. list: only return links attached to this automation. | |
| requires_email | No | create/edit: gate the link on email capture without a Page (default false). Ignored when a page_id is attached — the Page decides. | |
| destination_url | No | create (required) / edit: where the leads.sh link redirects to. Cannot itself be a leads.sh URL. |