Uninstall module
modules_uninstallUninstalls a module from the site. Module data may be lost.
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>",
"module_code": "<module_code>"
},
"name": "modules_uninstall"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Operation to run. Each oneOf entry describes one action and lists its parameters. | |
| confirm | No | Confirmation of this deletion. Not needed unless the server refuses the call because the site owner requires it; that refusal says what to do. | |
| 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 | Yes | Lowercase module code, as listed by modules_list (field module) or active_mods (field code) on the same site. |