create_openai_ads_lead_form
Create a ChatGPT Ads lead form (draft)
Description
Draft a ChatGPT Ads LEAD FORM: a name, an optional privacy policy URL, and fields — each {fieldId, fieldType "text" | "choice", label, required, options (choice only)}. Created as a DRAFT with a draftRevisionId; publish_openai_ads_lead_form makes it live, then reference it from a Business Agent (leadFormId). Needs ChatGPT Ads connected.
Parameters
| Parameter | Type | Description |
|---|---|---|
namerequired | string | lead form name |
privacyPolicyUrl | string | privacy policy URL shown with the form |
fieldsrequired | object[] | form questions, in the order shown |
fields[].fieldIdrequired | string | your stable key for the field, e.g. "email" |
fields[].fieldTyperequired | "text" | "choice" | text, or choice (choice needs options) |
fields[].labelrequired | string | question text shown to the person |
fields[].required | boolean | true = the person must answer this question |
fields[].options | string[] | choice fields only |
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/create_openai_ads_lead_form.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"create_openai_ads_lead_form","arguments":{"name":"<string>","fields":"<array>"}}}
CLI
hermoso call create_openai_ads_lead_form --json '{"name":"<string>","fields":"<array>"}'
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
publish_openai_ads_lead_formPublish a ChatGPT Ads lead formlist_openai_ads_lead_formsList ChatGPT Ads lead formsget_openai_ads_lead_formRead a ChatGPT Ads lead formupdate_openai_ads_lead_formSave a new draft of a ChatGPT Ads lead formarchive_openai_ads_lead_formArchive a ChatGPT Ads lead formtest_openai_ads_lead_formSend a synthetic test leadlist_openai_ads_lead_syncList ChatGPT Ads lead-sync subscriptionsset_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