ui.locale
Since next
Switch the language text keys resolve in, for a screenshot matrix.
A locale is a meta.strings key prefix: "de.menu.resume" is German "menu.resume", falling back to the unprefixed key. Only locales in the scene's table (listed by ui.schema) are accepted.
| Title | Force a locale |
| Mode | editor |
| Token cost | about 120 tokens (listed only when its toolset is enabled) |
| Toolset | ui |
Arguments
| Argument | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
agent | string | no | The name of the agent making the call, when several agents share one connection: each named agent is its own actor and plays its own game. Leave it out when there is one agent. | ||
locale | string | yes |
Example
An MCP tools/call with the required arguments (placeholders in angle brackets).
{
"name": "ui.locale",
"arguments": {
"locale": "<locale>"
}
}