Configure modules
modules_writeInstalls a module, enables or disables uAPI for a module, lifts the indexing quarantine.
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": {
"action": "<action>",
"site_id": "<site_id>"
},
"name": "modules_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Operation to run. Each oneOf entry describes one action and lists its parameters. | |
| confirm | No | Pass true only after the user approves this change. Required by: quarantine_unlock. | |
| site_id | Yes | Site to change: site_id from list_sites. Required: the call works only on this site, whatever select_site chose. | |
| module_code | No | Lowercase module code, as listed by modules_list (field module) or active_mods (field code) on the same site. |