Updates a shared account (family or enterprise) by organizationId. Wraps the updateOrganization RPC.
Use with an AI agent
Export this page as Markdown or bundle it with a task for your agent.
Try a task
Preview the prompt that will be copied
Access
- Effect: Changes data
- Required scope:
write(themcpscope also grants it)
Example request
The JSON-RPC message an MCP client sends to call this tool. Your client builds it for you; this is for reference and debugging in a tool such as MCP Inspector.
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "update_shared_account",
"arguments": {
"organization": {}
}
}
}Example IDs refer to fictional demo data. Replace them with IDs from your account before calling the real server.
Description
Updates a shared account (family or enterprise) by organizationId. Wraps the updateOrganization RPC.
Currently supports renaming via organization.name. If fieldMasks is omitted, masks are inferred from the provided organization fields.
When organizationId is unknown, pass organizationName (the account's exact current name) to resolve it among the user's HOUSEHOLD and GROUP accounts.Input parameters
| Name | Type | Required | Description |
|---|---|---|---|
fieldMasks | array | No | |
organization | object | Yes | |
organizationId | string | No | |
organizationName | string | No |
Full input schema (JSON Schema)
{
"additionalProperties": false,
"properties": {
"fieldMasks": {
"items": {
"additionalProperties": false,
"properties": {
"path": {
"type": "string"
}
},
"required": [
"path"
],
"type": "object"
},
"type": [
"null",
"array"
]
},
"organization": {
"additionalProperties": false,
"properties": {
"name": {
"type": [
"null",
"string"
]
}
},
"type": "object"
},
"organizationId": {
"type": "string"
},
"organizationName": {
"type": [
"null",
"string"
]
}
},
"required": [
"organization"
],
"type": "object"
}