module_validate
Validate an OpenSIPS module loads correctly by creating a minimal configuration and running opensips -C to verify the shared object without errors.
Instructions
Validate that an OpenSIPS module can be loaded.
Creates a minimal configuration and runs opensips -C to verify
the module's shared object can be loaded without errors.
Parameters
module_name:
Name of the module (without .so extension).
module_path:
Path to the directory containing the compiled .so file.
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": {
"module_name": "<module_name>",
"module_path": "<module_path>"
},
"name": "module_validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| module_name | Yes | ||
| module_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||