Turn on the Xodia database
turn_on_databaseTurns on the site's Xodia database, like Turn on in the Database view in Xodia (Content, Database): Xodia keeps the site's data and visitors' sign-in, with test data for the preview and live data for the live site, and the tables of app blocks already on its pages are added. region (required) is where the data lives: na_west (North America West), na_east (North America East), eu_west (Europe West), eu_east (Europe East), asia_pacific (Asia-Pacific), oceania (Oceania). The place can't change after the data is made. To move it later, export the data and bring it into a new place. So before calling it, ask the owner where most of their visitors are and suggest a region from their time zone or where the business is; call it only after they answer. Workspace owners and admins only (forbidden otherwise: tell the user who can). Paid booking, Memberships and Members need it. Calling it again with the same region does nothing; another region is refused once the data exists.
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": {
"region": "<region>",
"projectId": "<projectId>"
},
"name": "turn_on_database"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region | Yes | Where most of the site's visitors are: na_west (North America West), na_east (North America East), eu_west (Europe West), eu_east (Europe East), asia_pacific (Asia-Pacific), oceania (Oceania) | |
| projectId | Yes | Project id from list_projects |