modx_install_package
Installs a MODX transport package by name from a provider, with optional target signature for controlled update or downgrade. Returns 'already_installed' when the package is present.
Instructions
Install a transport package from a provider (default modx.com) by name, e.g. {package:'MIGX'}. Returns 'already_installed' if present.
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": {
"package": "<package>"
},
"name": "modx_install_package"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package | Yes | ||
| provider | No | Provider id (defaults to modx.com). | |
| target_signature | No | Optional exact provider signature for controlled update/downgrade. |