Whenever an exec's assistant needs to manage the boardroom, I share its calendar by hand. Can you make that a tool? The room's calendar:

c_1889f3a2b7d04e6c@resource.calendar.google.com
List Custom API Templates
Search Custom API Template Endpoints

I'll make it a script tool that calls Google's calendar.acl.insert. Editing the room's events is Google's writer role.

Update Script Tool Draft

Saved. Your Google grant doesn't include calendar.acls yet, so I'll publish first. Then reconnect Google and approve that one scope.

Tool approvalAwaiting Approval

Risotto wants to run this action. Approve to continue, or deny to skip it.

Tool
Publish Script Tool
Parameters
tool_id
01900000-0000-7000-8000-00000000ca1e

Reconnected. Test it with Maya Chen on Boardroom 4F.

The test passed: Maya Chen can now edit Boardroom 4F's calendar.

index.ts
1// Google's Calendar API, for reads and writes
2export const domains = {
3"www.googleapis.com": "read_write",
4};
5
6export const input = z.object({
7room: z.string().describe("Room's resource calendar id"),
8email: z.string().email().describe("Who gets access"),
9role: z
10.enum(["reader", "writer", "owner"])
11.default("writer")
12.describe("writer edits the room's events"),
13});
14type Input = z.infer<typeof input>;
15
16const API = "https://www.googleapis.com/calendar/v3";
17
18export default async function run(
19{ room, email, role }: Input,
20) {
21// **Grant room access**
22const res = await http.post(
23`${API}/calendars/${encodeURIComponent(room)}/acl`,
24{
25json: { role, scope: { type: "user", value: email } },
26auth: {
27type: "google",
28scopes: [
29"https://www.googleapis.com/auth/calendar.acls",
30],
31},
32},
33);
34
35return res.status_code === 200
36? `${email} now has ${role} access to ${room}.`
37: fail(`Google said: ${res.body.error?.message}`);
38}
Flow

Grant room access

Return

return

Grant room access

running

Return

return

Grant room access

642 ms

Return

return

Google Workspace

Tools app
Runs script tools on an OAuth client your organization owns.
Workspace domain
acme.example
Approved scopes
7 scopes
Installed Oct 12, 2026, 4:20 PM by priya.shah@acme.example
Tools app
Runs script tools on an OAuth client your organization owns.
Workspace domain
acme.example
Approved scopes
8 scopes
Installed Oct 12, 2026, 4:20 PM by priya.shah@acme.example
Reconnect Google
Published script tools need permissions your Google grant does not include yet. Give consent again and approve the scopes below.
Scopes to approve
  • calendar.acls
    https://www.googleapis.com/auth/calendar.acls
Consent with the same Workspace admin account. Google adds these to the existing grant, and the current connection keeps working until the new consent succeeds.