wp_seo_get_meta
Fetch a post's current SEO meta—title, description, OG, Twitter, canonical, robots, JSON-LD, focus keyword—from the active provider. Detect the provider first to know which plugin is active.
Instructions
Read the current SEO meta for a post (title, description, OG, Twitter, canonical, robots, JSON-LD, focus_keyword). The meta is read from whichever SEO provider is active — call wp_seo_detect_provider first to know which one.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"post_id": "<post_id>"
},
"name": "wp_seo_get_meta"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post_id | Yes |