cfg_explain
Get detailed explanations for OpenSIPS directives, modules, functions, and pseudo-variables. Supports flexible topic syntax to quickly clarify any configuration element.
Instructions
Explain an OpenSIPS directive, module, function, or pseudo-variable.
kubectl explain equivalent. Accepts flexible topic syntax:
dialog— module overviewdialog.db_mode— specific modparamrecord_route— script function$ru— pseudo-variablelisten— global parameterlb_status— MI command (with version-rename history)
Parameters
topic: The directive / name to explain.
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": {
"topic": "<topic>"
},
"name": "cfg_explain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||