Create a lead magnet from a PDF
create_lead_magnet_from_pdfMake a PRIVATE draft lead magnet from an existing PDF at a public web address (no login), or with magnetId replace the PDF of a lead magnet made from a PDF (same address, leads and numbers). The plan's file size limit applies. Nothing is public until publish_lead_magnet; replacing a LIVE one's PDF first returns the change to confirm (confirmLiveChange) and needs magnets:publish. Use PDFs the user owns.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "create_lead_magnet_from_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | A public https:// address of the PDF (no login). | |
| magnetId | No | To replace the PDF of an existing lead magnet made from a PDF (same address, leads and numbers). | |
| confirmLiveChange | No | Replacing the PDF of a LIVE lead magnet changes what visitors get: call first without it, then with true after the user agrees. |