Create a draft from a template
create_draft_from_templateFill a versioned template with required variables and save an independent draft with per-account variants for review. It creates no public post; inspect the variants and create a preview before publishing.
Instructions
Fill a versioned template and save an independent Draft with per-account variants. Required variables must be supplied; never invent facts. Account variant wins over platform variant, then base. Creates no public post or valid publishing preview; inspect variants and run preview_draft next.
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": {
"templateId": "<templateId>",
"expectedRevision": "<expectedRevision>"
},
"name": "create_draft_from_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| values | No | ||
| accountIds | No | ||
| templateId | Yes | ||
| expectedRevision | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | ||
| success | Yes |