format_wpcodebox_snippet
Format code snippets for WPCodebox plugin with proper structure, metadata, and execution settings for WordPress development.
Instructions
Format a code snippet for WPCodebox plugin with proper structure and metadata
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_wpcodebox_snippet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Snippet title | |
| code | Yes | The code to format | |
| language | Yes | Programming language | |
| description | No | Optional description of what the snippet does | |
| scope | No | Where the code should run (default: global) | |
| priority | No | Execution priority (default: 10) | |
| active | No | Whether snippet should be active (default: true) |