Generate Module Migration
generate_module_migrationGenerates a Drupal migration module for a custom module, including source plugin, process plugins, and migration template. Specify module name, source and target versions.
Instructions
Generate migration module for a custom module with source plugin, process plugins, and migration template.
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": {
"module_name": "<module_name>",
"source_version": "<source_version>",
"target_version": "<target_version>"
},
"name": "generate_module_migration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base_path | No | src/Plugin/migrate/source | |
| module_name | Yes | ||
| source_version | Yes | ||
| target_version | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||