Sync Config
sync_configSync configuration between environments via Drush.
Instructions
Sync configuration between environments via Drush.
source_env and target_env are drush aliases (staging or
@staging): the export runs against the source alias and the
import against the target. Until now both parameters were echoed
back untouched and every call operated on the site the server was
started on.
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_env": "<source_env>",
"target_env": "<target_env>"
},
"name": "sync_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | ||
| source_env | Yes | ||
| target_env | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||