Look up a bin/magento command
lookup-cli-commandRetrieves official Adobe Commerce bin/magento CLI command details—usage, arguments, and options—and accepts full names, shortcuts, or keywords to verify syntax before running or suggesting commands.
Instructions
Look up a bin/magento command of Adobe Commerce on-premises: description, usage, arguments and options, from the official CLI reference. Accepts full names, Symfony shortcuts (s:up) or keywords. Use it before suggesting or running a bin/magento command.
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": {
"command": "<command>"
},
"name": "lookup-cli-command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | A bin/magento command, full or with Symfony shortcuts (e.g. "setup:upgrade", "bin/magento s:up", "indexer:reindex"), or keywords to find one (e.g. "static content deploy", "maintenance") |