Get a command definition
ribbon_get_commandRetrieve a command's complete definition from the composed ribbon, including actions, enable rules, and display rules with rule bodies, before customizing or reusing it.
Instructions
Return the full definition of a command from the composed ribbon: its actions, enable rules and display rules (with rule bodies where they are defined). Use this before customizing or reusing an out-of-the-box command.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity | Yes | Entity logical name (e.g. 'account'), or 'APPLICATION' for the application ribbon. Note: APPLICATION support is EXPERIMENTAL (implemented per documented schema but not yet covered by the live end-to-end test suite) — take extra care and keep the backup ids at hand. | |
| commandId | Yes | e.g. Mscrm.NewRecordFromGrid | |
| environment | No | Dataverse environment URL, e.g. https://myorg.crm4.dynamics.com. Optional when the RIBBON_MCP_ENV_URL environment variable is set. |