manage_lead_pages
Pro+. Create, edit, and publish LeadShark Pages (lead-magnet / quiz pages) so an agent can spin up a guide's capture page and take it live without opening the app. 'create' makes a new draft (or published) Page from a title, with an optional email gate (require_email + gate_message / gate_button_text). 'publish' takes an existing draft live (subject to your plan's published-page limit). 'edit' updates the title, on-page copy (page_title / page_description), the optional opt-in hero (hero_eyebrow / hero_headline / hero_qualifier / hero_subheadline / hero image / hero_body / hero_layout), the content sections under the form (page_sections: a "what you get" checklist, proof numbers, image, testimonial, a second button, small print — for long-form pages), status, or gate settings of an existing page_id. page_sections replaces the whole list when sent; read the current list from list_lead_pages first. Page creation does NOT mint a leads.sh link: after a Page is published, call manage_lead_magnet_links (action:create, page_id) to mint its capture link, then attach that link to a post automation. Use list_lead_pages to read pages and get a page_id.
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_pages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | create (required) / edit: internal Page title (how it shows in list_lead_pages). | |
| 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 | 'create' a new Page (default), 'edit' an existing one, or 'publish' a draft. | |
| status | No | create/edit: 'draft' (default on create) or 'published'. Publishing counts against your plan's published-page limit. | |
| page_id | No | edit / publish (required): the Page id from list_lead_pages. | |
| hero_body | No | create/edit: optional proof/body text shown below the offer image (max 600 chars, line breaks kept). Supports **bold** and *italic*. | |
| page_title | No | create/edit: the headline shown on the public page (default "Access Your Content"). | |
| hero_layout | No | create/edit: 'centered' (default, stacked: one column, headline, image, body, then the form) or 'side' (side by side: text and image on the left, the form on the right on desktop; phones stack it). | |
| gate_message | No | create/edit: the message shown on the email-capture gate. | |
| hero_eyebrow | No | create/edit: optional small line above the headline, shown in your accent color (max 80 chars), e.g. the product name. Send "" to clear. | |
| hero_headline | No | create/edit: optional sales-style headline for the opt-in page (max 120 chars, plain text). Empty falls back to page_title. Send "" to clear. | |
| name_required | No | create/edit: when asking for name, make it mandatory (default true). Set false to leave the name field optional. | |
| page_sections | No | create/edit: content blocks shown under the form, in order (max 8). Sent as a whole list that replaces the current one ([] removes all). Each block has a type and its fields: {type:'benefits', title (max 120), items: string[] (max 8, 160 chars each)} a checklist of what's inside; {type:'proof', items: [{value (max 24, e.g. '$205M+'), label (max 80)}] (max 3)} big numbers; {type:'image', url, alt} (url must be an image already uploaded in the LeadShark Pages editor, other URLs are dropped); {type:'testimonial', quote (max 400), name (max 60), role (max 80)}; {type:'cta', text (max 40)} a second button that takes people back to the form; {type:'fineprint', text (max 600)} small print. **bold** and *italic* work in benefits title/items and the quote. Unknown types are dropped. LS-452: {type:'testimonial', ..., stars: 1-5} adds stars, and testimonials next to each other show two per row; {type:'fit', title (max 120), body (max 400), yesTitle, yes: string[], noTitle, no: string[] (max 6 each)} a Who it's for block (Use it if / Skip it if); {type:'topbar', text (max 120, one per page)} one line across the very top of the page; {type:'footer', text (max 160, e.g. '© 2026 Acme. All rights reserved.'), links: [{label (max 40), url (web or mailto address)}] (max 5, e.g. Privacy, Terms)} a row of links and a copyright line at the very bottom of the page (one per page). In any text, ==words== show in the page's accent color (and **bold** / *italic*). | |
| require_email | No | create/edit: gate the content behind an email capture (default false). | |
| requires_name | No | create/edit: also ask for the visitor’s name on the gate (default false). Shown name is mandatory unless name_required is false. | |
| hero_image_alt | No | create/edit: alt text describing the offer image (max 150 chars). Defaults to the headline. | |
| hero_image_url | No | create/edit: offer image shown beside the form (image left, form right on desktop). Must be an image already uploaded in the LeadShark Pages editor; other URLs are ignored. null removes it. | |
| hero_qualifier | No | create/edit: optional italic line under the headline (max 120 chars), e.g. "(Even If You Have A Small Social Media Following)". **bold** allowed. | |
| phone_required | No | create/edit: when asking for phone, make it mandatory (default false, so the field stays optional). | |
| requires_phone | No | create/edit: also ask for the visitor’s phone on the gate (default false). Shown phone is optional unless phone_required is true. | |
| hero_form_steps | No | create/edit: how the form shows its fields. 'all' (default) on one screen; 'one' one field per screen (name, phone, then email last; the lead is saved at the email step). Only matters when name or phone is asked. Not a quiz: nothing is scored. | |
| gate_button_text | No | create/edit: the call-to-action button label on the gate. | |
| gate_hide_labels | No | create/edit: hide the Name / Email / Phone field labels on the gate so only placeholders show (labels stay for screen readers). Default false. | |
| hero_subheadline | No | create/edit: optional supporting line under the headline (max 300 chars). Supports **bold** and *italic*. Empty falls back to page_description only when hero_headline is empty too. | |
| page_description | No | create/edit: the subtext under the headline (default "Get your free resource"). | |
| gate_button_subtext | No | create/edit: optional one-line text under the gate button, e.g. "Over 2,000 downloads" (max 80 chars, plain text). Send "" to clear. | |
| hero_image_decorative | No | create/edit: mark the offer image decorative so screen readers skip it (default false). |