cfg_diff_reference
Compare your OpenSIPS configuration against a reference scenario to identify custom divergences. Review team modifications that require reapplication after upgrading the reference template.
Instructions
Compare a config against the reference output for a scenario.
Shows which parts of the config are "custom" (differ from the canned scenario template). Useful for reviewing what your team has diverged on and would need to re-apply after upgrading the reference template.
Parameters
config_content:
The OpenSIPS configuration text to compare.
scenario:
The reference scenario name (see cfg_list_scenarios).
params:
Parameters used to render the reference.
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": {
"config_content": "<config_content>",
"scenario": "<scenario>"
},
"name": "cfg_diff_reference"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config_content | Yes | ||
| scenario | Yes | ||
| params | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||