Run an Asterisk CLI command
asterisk_cliRun Asterisk CLI commands and return raw output for PBX inspection; read-only mode permits show commands until write access is enabled.
Instructions
Run a command through the Asterisk CLI and return its raw output. In the default read-only mode only inspection commands such as 'core show', 'pjsip show' and 'queue show' are permitted. Set PBX_MCP_ALLOW_WRITE=true to lift that restriction.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | The CLI command, for example 'pjsip show endpoints' or 'queue show support'. |