get_post
Retrieve a single post by ID or slug, including its rendered HTML and a preview URL for viewing in the active theme.
Instructions
Read a single post by id or slug, including its rendered HTML.
Provide either post_id or slug. The result includes a preview_url
for viewing the post in the active theme.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | ||
| post_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||