Set calendar pause
set_calendar_pauseIn ONE call, switch chosen series of a project's calendar off for a period — kind 'pause', e.g. every class of the week of run-throughs: name the events by 'events' (eventIds), 'externalIds' or a 'label' they carry — or mark DAYS OFF — kind 'dayoff', a holiday: no occurrence of any repeating event lands on it. Only the days 'from'..'to' (inclusive, at most 366) are touched; other weeks are not. Nothing is rewritten: lifting it with delete_calendar_pause brings the occurrences back, except one somebody changed by hand after the pause began, which keeps that change. Answers the pause and 'affected', how many occurrences it takes off. Anybody who may write in the project.
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": "<project>",
"kind": "<kind>",
"from": "<from>"
},
"name": "set_calendar_pause"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | The last day, YYYY-MM-DD; default the first. | |
| from | Yes | The first day, YYYY-MM-DD. | |
| kind | Yes | 'pause' or 'dayoff'. | |
| label | No | A pause takes every event with this label. | |
| events | No | A pause's events as eventIds, 'a,b'. | |
| reason | No | Why — 'run-through week', 'New Year'. | |
| project | Yes | The project key, e.g. TH. | |
| externalIds | No | A pause's events by their external ids, 'a,b'. |