List sections
get_sectionsList a Substack publication's sections to find the section_id required when creating or updating drafts.
Instructions
List the publication's sections, which are the categories a post can be filed under. Call this to find the section_id that create_draft and update_draft take.
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": "get_sections"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. |