List calendars
Your calendars with name, color and whether they are writable.
MCP tool nextcloud_read → list_calendars
read
Lists the calendars of your account, including calendars others shared with you. Use the calendar value in list_events and create_calendar_event. Shared calendars can be read-only, and the writable flag says which.
Parameters
No parameters.
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "nextcloud_read",
"arguments": {
"operation": "list_calendars",
"arguments": {}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"calendars": [
{
"calendar": "work",
"name": "Work",
"color": "#0082C9",
"writable": true
},
{
"calendar": "holidays",
"name": "Team holidays",
"color": "#2E7D32",
"writable": false
}
]
},
"isError": false
}