Draft marketing content
gtm_generate_contentGenerate and persist a new GTM content draft for the authenticated user. Repeating the same call within 10 minutes returns the same draft.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "gtm_generate_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Posts: how many separate drafts (1-20, each its own draft; one call makes up to 6 and says how many are left to ask for). Threads and series: how many parts (1-20). | |
| channel | No | Delivery channel. One of: x|linkedin|facebook|instagram|youtube|email|web | x |
| language | No | Optional language | |
| appSource | No | Which business the draft is about: custom (your saved business, the default) | a build session id | |
| _confirmed | No | Set to true only after the user has explicitly approved this exact write or credit-spending action. | |
| campaignId | No | Optional campaign id | |
| contentClass | No | Content class. One of: product_led|brand_led|domain_led|offer_led | product_led |
| operatorPrompt | No | Optional operator instruction for the generator | |
| deliverableType | No | Deliverable type. One of: post|thread|launch_pack|bio|promo_campaign|educational_series|landing_copy|visual_brief|seo_blog_post|seo_landing_page|llms_txt | post |