sync_linkedin_leads
Fetch new responses from LinkedIn Lead Gen Forms into leads. LinkedIn has no webhook, so this is a pull: it keeps a per-form position, asks slightly BEHIND it (so two responses with the same timestamp cannot fall through the gap) and de-duplicates on the response id, so a second run creates nothing twice and skips nothing. The first run without a stored position goes back 30 days by default, not to the beginning of time — say since_days to widen it deliberately. Consent is NOT assumed: every lead arrives with marketing_consent unset, because whether the form asked for it is not visible here. Optional: form_id (one form only), since_days, dry_run (show what would be created).
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": "sync_linkedin_leads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | Fetch and show what would be created, write nothing and do not move the position. | |
| form_id | No | One form URN only. Default: every form on the connected ad account. | |
| since_days | No | Override how far a first run reaches back. Ignored once a position is stored for that form. |