validate_wpcodebox_snippet
Validate WordPress code snippets for WPCodebox by checking structure, language, scope, and priority to ensure compliance with WordPress standards.
Instructions
Validate a snippet structure against WPCodebox requirements
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": {
"title": "<title>",
"code": "<code>",
"language": "<language>"
},
"name": "validate_wpcodebox_snippet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Snippet title | |
| code | Yes | The code to validate | |
| language | Yes | Programming language | |
| scope | No | Where the code should run | |
| priority | No | Execution priority |