format_for_wpcodebox
Format code snippets into WPCodebox structure for WordPress development. Converts PHP, JavaScript, or CSS code with title, description, and tags into organized snippets.
Instructions
Format any generated code for WPCodebox snippet structure
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": "format_for_wpcodebox"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Snippet title | |
| code | Yes | Code to format | |
| language | Yes | Programming language | |
| description | No | Snippet description | |
| tags | No | Tags for organization |