Set out of office
setOutOfOfficeSave the out of office reply of one address, or of a catch-all with *@domain, replacing what was saved. While it is active, each person who writes to the address gets the message once for the whole away period, as a reply in the same thread. Spam, newsletters and other bulk mail, automatic mail, bounces, blocked senders and the workspace's own addresses get no reply. startsAt and endsAt are ISO 8601 times: leave startsAt out to start now, or to keep the start of a reply that is already on, and endsAt out to keep it on until it is switched off. A new startsAt begins a new away period, in which everyone is answered once more. An empty subject answers with Re: and the subject received. contactsOnly answers only contacts and people the workspace has written to. enabled false keeps the text and stops the replies. getCurrentDate gives the time now.
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": {
"address": "<address>",
"message": "<message>"
},
"name": "setOutOfOffice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endsAt | No | ||
| address | Yes | One address, such as hello@example.com, or *@example.com for the catch-all of a domain. | |
| enabled | No | ||
| message | Yes | ||
| subject | No | ||
| startsAt | No | ||
| contactsOnly | No |