cfg_diff
Compare two OpenSIPS configuration texts and produce a unified diff, highlighting additions, deletions, and modifications between the original and updated versions.
Instructions
Compute a unified diff between two OpenSIPS configurations.
Parameters
config_a: The first (original) configuration text. config_b: The second (modified) configuration text.
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_a": "<config_a>",
"config_b": "<config_b>"
},
"name": "cfg_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config_a | Yes | ||
| config_b | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||