List lead forms and leads
ads_list_leadsWithout formId, list the connected Page's lead forms. With formId, list that form's submissions.
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": "ads_list_leads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| formId | No | ||
| accountId | No | The Facebook accountId from list_accounts. Without it, pass profileId to use that profile's Facebook connection. | |
| profileId | No | A profileId from list_profiles. Optional when accountId is given, which names its profile; if both are given they must agree. |