Show dialplan
asterisk_dialplanDump a context or extension dialplan to trace call routing before placing a call. Specify context and optional extension to inspect where calls go.
Instructions
Dump the dialplan for a context, or for one extension within a context. Useful for tracing where a call would go before placing it.
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": {
"context": "<context>"
},
"name": "asterisk_dialplan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | Yes | Dialplan context, for example 'from-internal' or 'default'. | |
| extension | No | Optional single extension to narrow the output. |