publish_openai_ads_lead_form
Publish a ChatGPT Ads lead form destructive
Description
Publish the current draft of a ChatGPT Ads lead form so Business Agents can use it. expectedDraftRevisionId is the draftRevisionId you last read. Show the user the fields before publishing: the form is what real people will see.
Parameters
| Parameter | Type | Description |
|---|---|---|
leadFormIdrequired | string | lead form id to publish |
expectedDraftRevisionIdrequired | string | draftRevisionId from the last read; refused if stale |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/publish_openai_ads_lead_form.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"publish_openai_ads_lead_form","arguments":{"leadFormId":"<string>","expectedDraftRevisionId":"<string>"}}}
CLI
hermoso call publish_openai_ads_lead_form --json '{"leadFormId":"<string>","expectedDraftRevisionId":"<string>"}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
update_openai_ads_lead_formSave a new draft of a ChatGPT Ads lead formarchive_openai_ads_lead_formArchive a ChatGPT Ads lead formget_openai_ads_lead_formRead a ChatGPT Ads lead formtest_openai_ads_lead_formSend a synthetic test leadcreate_openai_ads_lead_formCreate a ChatGPT Ads lead form (draft)list_openai_ads_lead_syncList ChatGPT Ads lead-sync subscriptionslist_openai_ads_lead_formsList ChatGPT Ads lead formsset_openai_ads_lead_syncProvision ChatGPT Ads lead delivery (webhook)list_openai_ads_leadsChatGPT Ads leads receiveddelete_openai_ads_lead_syncDelete a ChatGPT Ads lead-sync subscription