Get a content summary
get_content_summaryRetrieve minimal content summaries—ID, title, slug, status, excerpt, taxonomies, word count, and SEO fields—without the body, to simplify audits and lookups across many items.
Instructions
Return a minimal summary of one item — id, title, slug, status, excerpt, taxonomies, word count and SEO fields (Yoast, Rank Math, AIOSEO or SEOPress) — without the body. Built for audits and lookups over many items. Accepts either an id (with type) or a full URL.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Content ID. Provide this or `url`. | |
| url | No | Any front-end URL on the site; the type is detected automatically. | |
| type | No | Content type, used with `id`. | post |
| site_id | No | Which configured WordPress site to act on. Optional — with a single site configured it is used automatically; with several, the default site is used unless you name one. Run list_sites for valid ids. |