inspect_conventions
Analyze a WordPress plugin's coding conventions—naming, docblocks, type hints, directory structure—to align generated code with existing style.
Instructions
Detect coding conventions used in a plugin: naming style, docblock style, type hint usage, directory structure patterns. Use before generating code to match existing style.
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": {
"path": "<path>"
},
"name": "inspect_conventions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the plugin root |