Update Organization Preferences
update_organization_preferencesUpdate an organization's preferences (PUT /api/organizations/{org_id}/preferences, body { preferences }). org_id is required. Common keys: currency, language, dismissed_quick_setup. Keys are shallow-merged into the existing preferences — omitted keys are left untouched — so send only the keys you want to change. Returns the updated organization. currency is the org-wide DISPLAY currency (a 3-letter ISO-4217 code, case-insensitive here). The backend validates it against the 28 supported codes (USD, EUR, GBP, CAD, AUD, JPY, CNY, INR, BRL, MXN, CHF, KRW, SGD, HKD, NZD, SEK, NOK, DKK, ZAR, AED, SAR, PLN, THB, IDR, MYR, PHP, ILS, TRY) and rejects anything else with a 400. ⚠ mcp_writes_enabled CANNOT BE SET HERE. That preference is the organization switch that allows AI agents to make changes over MCP; this tool strips it, tells you it did, and applies the rest. Only a human org admin can change it, in Settings → Organization → AI agent access. WRITE TOOL — writes are OFF by default for every organization: this call needs the admin:write scope, the organization switch turned on, an admin or super_admin org role, and confirm:true. Without all four it refuses and changes nothing. Idempotent (re-sending the same preferences is a no-op). Example: { "org_id": "org-123", "preferences": { "currency": "USD", "language": "en" }, "confirm": true }.
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": {
"org_id": "<org_id>",
"preferences": "<preferences>"
},
"name": "update_organization_preferences"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| org_id | Yes | The organization id whose preferences to update (PUT /api/organizations/{org_id}/preferences). Required. | |
| confirm | No | Set to true to actually perform this write. Required: the tool refuses the mutation unless confirm:true is present. Authorization for the change itself is your org role, checked server-side. | |
| preferences | Yes | The preference keys to set (e.g. { currency, language, dismissed_quick_setup }). Shallow-merged into the existing preferences server-side — keys you omit are left untouched, so send only what you want to change. Sent as { preferences } to the backend. ⚠ `mcp_writes_enabled` (the switch that allows AI agents to make changes over MCP) is REFUSED here and must be changed by a human in Settings → Organization → AI agent access. |