list_posts
Retrieve a list of published Substack posts with metadata including title, URL slug, audience, publish date, and type. Filter by date range, post type, and sort order.
Instructions
List posts published by a Substack publication. Returns post metadata including title, URL slug, audience, publish date, and type. Use the urlSlug from results with get_post or get_post_stats for details.
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": "list_posts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| publication | No | Publication name (e.g., 'ny', 'la'). Required if multiple publications are configured. | |
| startDate | No | Filter posts published on or after this date (YYYY-MM-DD). | |
| endDate | No | Filter posts published on or before this date (YYYY-MM-DD). | |
| sortBy | No | Sort order. Defaults to newest. | |
| type | No | Filter by post type. | |
| maxResults | No | Maximum number of posts to return. Default 100. | |
| next | No | Pagination cursor from a previous list_posts response. Pass this to get the next page of results. |