aism_migration_transfer_package
Transfers and installs a plugin or theme from a source WordPress site to a target during migration, copying exact installed files or installing by slug; leaves it inactive unless activation is requested.
Instructions
Install a plugin or theme from the source on the target, inactive unless activate=true. from=source copies the exact installed files (custom and premium code included); from=wordpress.org installs by slug. Missing parent themes are transferred first. Installed plugins with an older version are updated from the source ZIP. Requires migration:read on the source and plugins:write/themes:write on the target. Adds executable code.
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": {
"source": "<source>",
"target": "<target>",
"type": "<type>",
"id": "<id>"
},
"name": "aism_migration_transfer_package"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Plugin identifier (folder/file.php or slug) or theme stylesheet from aism_migration_plan. | |
| from | No | source | |
| type | Yes | ||
| source | Yes | Configured site name to migrate FROM (needs migration:read). | |
| target | Yes | Configured site name to migrate INTO (needs migration:read and migration:write). | |
| activate | No |