module_generate_docs
Create markdown README documentation for OpenSIPS modules with parameter listings, MI commands, and usage instructions.
Instructions
Generate README documentation for an OpenSIPS module.
Produces a markdown README with parameter, MI command, and usage documentation.
Parameters
name:
Module name.
description:
Module description.
mi_commands_json:
JSON array of MI commands (same format as module_scaffold).
params_json:
JSON array of parameters (same format as module_scaffold).
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": {
"name": "<name>"
},
"name": "module_generate_docs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| description | No | ||
| mi_commands_json | No | [] | |
| params_json | No | [] |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||