get_post_by_id
Fetch a Substack post by integer ID for type safety and fewer round-trips. Returns title, slug, dates, reactions, and comment count.
Instructions
Read-only. Strict-typed variant of get_post that ONLY accepts a numeric post id (e.g. 193866852) — no slug fallback. Use this when your caller already has an integer id (e.g. from list_posts response) and you want type safety + fewer round-trips. Returns the same shape as get_post (title, slug, dates, reactions, comment_count). For a slug-or-id input use get_post; for the post body use get_post_content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post_id | Yes |