MCP Reference
calendar_projects_set
Choose Projects for a Workspace Calendar
Beschreibung
Replace the projects displayed on an existing shared workspace calendar. Human calendar owners and workspace managers only. Project IDs must belong to this workspace. An empty list removes all project overlays. This changes the workspace's shared display setting; it does not create calendar events, grant project access or write to Google.
Zugriff
Zugriffsprofil: gated. Module: calendar.
Die Freigabe im Profil ersetzt keine Account-, Workspace- oder Rollenberechtigung.
Parameter
| Name | Typ | Pflicht | Beschreibung |
|---|---|---|---|
account_id |
string | Ja | |
workspace_id |
string | Ja | |
calendar_id |
string | Ja | |
project_ids |
array | Ja |
Eingabeschema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"account_id": {
"type": "string"
},
"workspace_id": {
"type": "string"
},
"calendar_id": {
"type": "string"
},
"project_ids": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"account_id",
"workspace_id",
"calendar_id",
"project_ids"
],
"type": "object"
}
Ausgabeschema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"calendar_id": {
"type": "string"
},
"workspace_id": {
"type": "string"
},
"project_ids": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"calendar_id",
"workspace_id",
"project_ids"
],
"type": "object"
}