wp_seo_generate_schema
Generate JSON-LD structured data schemas for WordPress posts to enhance search results with rich snippets. Supports multiple schema types like Article, Product, FAQ, and more.
Instructions
Generate JSON-LD structured data schema for enhanced search results
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": {
"postId": "<postId>",
"schemaType": "<schemaType>"
},
"name": "wp_seo_generate_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Site identifier for multi-site setups | |
| postId | Yes | WordPress post ID | |
| customData | No | Additional custom data for the schema | |
| schemaType | Yes | Type of schema.org structured data to generate |