cfg_migrate_plan
Analyze an OpenSIPS configuration file and report all changes, automatic rewrites, and manual steps required to migrate from one version to another, without altering the config.
Instructions
Report what a version migration would do, without rewriting the config.
Terraform-plan equivalent. Returns the ordered list of hops, every
automatic rewrite, and every manual step / silent-gotcha warning.
Parameters
config_content:
The current OpenSIPS configuration text.
from_version:
Current OpenSIPS version (e.g. 3.4).
to_version:
Target OpenSIPS version (e.g. 3.6).
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>",
"from_version": "<from_version>",
"to_version": "<to_version>"
},
"name": "cfg_migrate_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config_content | Yes | ||
| from_version | Yes | ||
| to_version | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||