Create a post template
create_templateSave a reusable Substack post template from markdown or HTML, including embeds and a paywall marker, so future drafts can reuse the same structure and formatting.
Instructions
Save a reusable post template. The body takes the same markdown as create_draft, including embeds and a paywall marker.
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": {
"name": "<name>"
},
"name": "create_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Template body, as markdown or HTML. | |
| name | Yes | Template name, for example 'Weekly roundup'. | |
| publication | No | Which connected publication to act on, matched loosely against its hostname (for example 'example.substack.com' or just 'example'). Defaults to the first connected publication. |