validate_composer_autoload
Check PSR-4 autoload mappings against actual file structure. Identify mismatched namespaces, missing directories, and misplaced files to ensure correct autoloading.
Instructions
Verify PSR-4 autoload mappings in composer.json match actual file/directory structure. Detects mismatched namespaces, missing directories, and files in wrong locations.
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": "validate_composer_autoload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the plugin root |