cfg_validate
Validate OpenSIPS configuration files by checking syntax and correctness with the opensips compiler, preventing runtime errors.
Instructions
Validate an OpenSIPS configuration by running opensips -C -f.
Parameters
config_content: The full OpenSIPS configuration text to validate.
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>"
},
"name": "cfg_validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config_content | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||