MCP tools

List lead forms

List the instant lead forms that already exist on a Page, so you can attach one to a lead-generation ad set.

Tool name: list-lead-forms.

List the instant lead forms that already exist on a Page, so you can attach one to a lead-generation ad set. Pass the Page id (pageId), read it from the ad set's assets.facebookPage.id via getSettings, or from getAvailableOptions. Returns { id, name } per form. Use this BEFORE attachLeadForm whenever a lead-form campaign needs a form and the user hasn't given an exact id, never tell the user to go create one on the ad platform without first listing what they already have.

When to use

Discover a Page's existing lead forms before attaching one to a lead-gen ad set. Read-only. Pair with attachLeadForm. Always list before claiming the user must create a form on the ad platform.

Access

PropertyValue
Required scoperead
PublishesNo
Read-onlyYes
DestructiveNo
IdempotentYes
Open worldYes

Input

FieldTypeRequiredDescription
pageIdstringYesPage id that owns the lead forms (from assets.facebookPage.id or getAvailableOptions).
cursorstringNoOpaque cursor from the previous page's nextCursor. Omit for the first page.
limitintegerNoRows per page, 1-100. Defaults to 50 when paging. Minimum 1, maximum 100.

Output

FieldTypeRequiredDescription
leadFormsobject[]Yes
nextCursorstring | nullYesPass as cursor to read the next page. Null when there is no next page.

REST equivalent

GET /v1/brands/{brandId}/ad-accounts/{accountId}/lead-forms, List lead forms. CLI: koast list-lead-forms.

On this page