archive_lead_form
Archive an unpublished lead form by submitting its ID to deactivate it, preventing accidental use and keeping ad account records organized.
Instructions
Archive a Lead Form that is not attached to a published Business Agent.
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": {
"lead_form_id": "<lead_form_id>"
},
"name": "archive_lead_form"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lead_form_id | Yes | Lead form ID. | |
| ad_account_id | No |