MCP Reference
calendar_share
Share an Owned Calendar with a Workspace
Beschreibung
Set or revoke workspace access to a calendar you own. Human owners only: agents cannot grant themselves resource access. Permission none revokes this workspace, read permits viewing, write permits editing. Other workspace grants are unchanged. Shared calendars appear under the workspace, never in another member's personal Calendar.
Zugriff
Zugriffsprofil: gated. Module: calendar.
Die Freigabe im Profil ersetzt keine Account-, Workspace- oder Rollenberechtigung.
Parameter
| Name | Typ | Pflicht | Beschreibung |
|---|---|---|---|
account_id |
string | Ja | |
calendar_id |
string | Ja | |
workspace_id |
string | Ja | |
permission |
string | Ja |
Eingabeschema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"account_id": {
"type": "string"
},
"calendar_id": {
"type": "string"
},
"workspace_id": {
"type": "string"
},
"permission": {
"type": "string",
"enum": [
"none",
"read",
"write"
]
}
},
"required": [
"account_id",
"calendar_id",
"workspace_id",
"permission"
],
"type": "object"
}
Ausgabeschema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"calendar_id": {
"type": "string"
},
"workspace_id": {
"type": "string"
},
"permission": {
"type": "string"
}
},
"required": [
"calendar_id",
"workspace_id",
"permission"
],
"type": "object"
}