create_module
Create a reusable module (a typed config fragment referenced by handle) and optionally deploy it to staging or production. spec_yaml is base64-encoded YAML of the module body; module_type is the config struct it represents (e.g. Database).
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": {
"handle": "<handle>",
"module_type": "<module_type>",
"spec_yaml": "<spec_yaml>"
},
"name": "create_module"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| handle | Yes | ||
| role_uuid | No | ||
| spec_yaml | Yes | ||
| permission | No | ||
| description | No | ||
| module_type | Yes | ||
| deploy_staging | No | ||
| deploy_production | No | ||
| organization_uuid | No |