Switch PrestaShop Site
ps_set_targetSwitch the active PrestaShop store so all subsequent tool calls target the selected shop. Use the site key from the available targets list to change context.
Instructions
Switch the active PrestaShop shop. All subsequent tool calls will target this shop.
Use ps_list_targets to see available site keys.
Args:
site: Site key (e.g., "default", "site_1", "site_2")
Returns: Confirmation with the new active site details.
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": {
"site": "<site>"
},
"name": "ps_set_target"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | Site key from ps_list_targets (e.g., 'default', 'site_1') |