rolldev_magento_cli
Execute Magento CLI commands inside a PHP-FPM container for your project. Specify the project path, command, and optional arguments or log output to a file.
Instructions
Run roll magento command inside the php-fpm container
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": {
"project_path": "<project_path>",
"command": "<command>"
},
"name": "rolldev_magento_cli"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Additional arguments for the command | |
| command | Yes | Magento CLI command (without 'bin/magento' prefix) | |
| project_path | Yes | Path to the project directory | |
| save_output_to_file | No | Save full output to a log file for later investigation (useful for long output) |