generate_shortcode
Create WordPress shortcode implementations by specifying tag, attributes, and body code to add custom functionality to your site.
Instructions
Generate WordPress shortcode implementation
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": {
"tag": "<tag>",
"body": "<body>"
},
"name": "generate_shortcode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | Yes | Shortcode tag | |
| description | No | Shortcode description | |
| attributes | No | Shortcode attributes | |
| body | Yes | Shortcode body code |