add_calendar_acl
Adds an access control rule to a Google Calendar to grant a user, group, or domain a specific role such as reader, writer, or owner.
Instructions
Grant access to a calendar by adding an access control rule.
Args: calendar_id: The calendar ID, or 'primary'. role: Access role to grant. One of: 'reader', 'writer', 'owner', 'freeBusyReader'. scope_type: Who the rule applies to. One of: 'user', 'group', 'domain', 'default' ('default' grants public access to all users and must not have a scope_value). scope_value: Email address (for 'user'/'group') or domain name (for 'domain'). Required unless scope_type is 'default', in which case it must be omitted. send_notifications: Whether to send a notification email to the grantee. Defaults to True.
Returns: Created ACL rule: id, role, scope_type, scope_value. Google rejects any change to the calendar's primary-owner rule or to the authenticated account's own rule; that returns an {"error": ...} naming which one.
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": {
"calendar_id": "<calendar_id>",
"role": "<role>"
},
"name": "add_calendar_acl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | ||
| scope_type | No | user | |
| calendar_id | Yes | ||
| scope_value | No | ||
| send_notifications | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||