Module Create
dev-module-createCreate and register a new Magento 2 module with customizable components including blocks, helpers, models, and setup files for extending e-commerce functionality.
Instructions
Create and register a new Magento 2 module
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": {
"vendorNamespace": "<vendorNamespace>",
"moduleName": "<moduleName>"
},
"name": "dev-module-create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| addAll | No | Add blocks, helpers and models | |
| addBlocks | No | Add blocks | |
| addComposer | No | Add a composer.json file to generated module | |
| addHelpers | No | Add helpers | |
| addModels | No | Add models | |
| addReadme | No | Add a readme.md file to generated module | |
| addSetup | No | Add SQL setup | |
| addStrictTypes | No | Add strict_types declaration to generated PHP files | |
| authorEmail | No | Author email for readme.md or composer.json | |
| authorName | No | Author for readme.md or composer.json | |
| description | No | Description for readme.md or composer.json | |
| enable | No | Enable module after creation | |
| minimal | No | Create only module file | |
| modman | No | Create all files in folder with a modman file | |
| moduleName | Yes | Name of your module | |
| vendorNamespace | Yes | Namespace (your company prefix) |