wp_seo_validate_schema
Ensure JSON-LD schema markup is correct and compliant by validating against expected schema types or Google's Rich Results Test API.
Instructions
Validate JSON-LD schema markup for correctness and compliance
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": {
"schema": "<schema>"
},
"name": "wp_seo_validate_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Site identifier for multi-site setups | |
| schema | Yes | JSON-LD schema object to validate | |
| schemaType | No | Expected schema type for validation | |
| useGoogleValidator | No | Use Google's Rich Results Test API for validation |