Can the bot open this Google Sheet or Calendar
dosai_check_google_accessCheck that the bot's Google address really has access to the owner's sheet or calendar BEFORE creating a function on it. For a sheet returns its tabs and columns, for a calendar the nearest events. If access is missing the answer says what the owner must do. Requires editor role.
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": {
"project_id": "<project_id>",
"kind": "<kind>"
},
"name": "dosai_check_google_access"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| project_id | Yes | From dosai_list_projects. | |
| sheet_name | No | For sheets: a tab name; omit for the first tab. | |
| calendar_id | No | For calendar: the calendar's id, usually its Gmail address. | |
| spreadsheet | No | For sheets: the sheet's link or id. |