Module Info Generate
module_info_generateGenerate a .info.yml file from existing Drupal module code to restore missing or reverse-engineered module metadata.
Instructions
Generate .info.yml from existing module code (reverse engineering).
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": {
"machine_name": "<machine_name>"
},
"name": "module_info_generate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| machine_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||