mcp-easy-ai__wp_get_post_meta
Gets REST-API-visible meta fields for a post. Only meta fields registered with show_in_rest are returned. Optional key parameter filters to a single meta key and returns { post_id, key, value }; omit it to receive all meta. Optional post_type (REST base, default posts) lets this tool also operate on pages or any custom post type, not just posts. Through Royally: its server marks it read-only, so it runs straight away.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Optional single meta key to retrieve. Omit to return all meta. | |
| post_id | Yes | The ID of the post to retrieve meta for. | |
| site_id | No | Site to run this tool on: 8ef2e52b-bd07-4671-a363-ebe8b480b65c (https://demo.royalplugins.com) | |
| post_type | No | The REST base for the post type (e.g. posts, pages). Default: posts. A post_type slug is also accepted. | posts |