hermosodocs

create_openai_ads_lead_form

Create a ChatGPT Ads lead form (draft)

Area: ChatGPT ADS BREADTH · Ad campaign management. Generated from the running MCP server, like the rest of the tool reference.

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

ParameterTypeDescription
namerequiredstringlead form name
privacyPolicyUrlstringprivacy policy URL shown with the form
fieldsrequiredobject[]form questions, in the order shown
fields[].fieldIdrequiredstringyour stable key for the field, e.g. "email"
fields[].fieldTyperequired"text" | "choice"text, or choice (choice needs options)
fields[].labelrequiredstringquestion text shown to the person
fields[].requiredbooleantrue = the person must answer this question
fields[].optionsstring[]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.

All 759 Ad campaign management tools · tools.json