settings_language
Change the shop's languages. Money is integer minor units (cents). Calling this changes nothing: it returns a preview of what would change and a confirmation link. Only the merchant, on that page, can make it happen.
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": {
"code": "<code>",
"action": "<action>"
},
"name": "settings_language"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The language. pt is Portuguese as written in Portugal, pt-BR as in Brazil. | |
| action | Yes | make_default: the storefront is written in this language (what "make the shop Portuguese" means); it is added if missing. add: offer it as a second language, unpublished until translated. publish / unpublish: put a second language live at /<code> or take it off. remove: drop it, translations kept. |