Generate Substack post
generate_substack_postDraft one Substack post and save it to the user's files, ready to paste into their Substack editor. Nothing is published and nothing is sent. Drafts are limited to 20 per day. Templates: 'post' takes signoff; 'digest' takes intro, signoff. Write the body as markdown (paragraphs, lists, links) or as blocks, never both. The title and subtitle are the post's own headline and standfirst. audience is everyone, paid or founding. It costs 1 credit, or nothing on a Solo or Pro plan. Do not call this again to retry. When Substack is connected, call get_my_substack_voice first and write the post in that voice.
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": {
"template_id": "<template_id>",
"title": "<title>"
},
"name": "generate_substack_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| props | No | Text fields for the template, all strings. | |
| title | Yes | The post's headline. | |
| blocks | No | The body as blocks. | |
| audience | No | Who the post is for. Left out it is the template default. | |
| markdown | No | The body as markdown. | |
| subtitle | No | The line under the headline. | |
| template_id | Yes | The template to render. plan_generation lists each one. |