when-free
v0.5.0Which days and times am I free?
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
free_slots
Find when the user is free. Reads the user's own calendars and returns, for each day asked about, the time ranges with no events, in the user's time zone. Use it when the user needs to offer, choose or confirm times for a meeting, call or interview. Say which days in one of three ways: `days` (explicit dates), `from` and `to` (a range), or `message` (text such as a recruiter's email, from which the days and a daily window are read). With none of them, the next working days are returned. It never guesses: if a calendar cannot be read it returns an error instead of slots, and days already past a…
| Parameter | Type | Description |
|---|---|---|
all_day_busy | boolean | Treat whole-day events as busy. Default false. |
buffer_minutes | integer | Time kept free before and after every event. Default: the user's setting, usually 15. |
days | string | Specific days, comma-separated. ISO dates are safest: "2026-10-05, 2026-10-06". Also understood: "Thu 1 Oct, Fri 2 Oct", "tomorrow", "next week". |
from | string | First day of a range, YYYY-MM-DD. Default: today. |
hours | string | The part of the day to offer, HH:MM-HH:MM, for example "10:00-16:00", or "morning", "afternoon", "evening". Default: the user's configured hours. |
include_busy | boolean | Also return what blocks each day, with event titles. Titles are private: ask only if the user wants to see them. Default false. |
message | string | Text to read the proposed days and hours from, for example the email asking for availability. Explicit dates are read, and when there are none, phrases relative to today: "tomorrow", "Thursday", "next… |
min_minutes | integer | Shortest slot to return, in minutes. Set it to the meeting length. Default: the user's setting, usually 60. |
timezone | string | Time zone for the answer, like "Europe/London". Default: the user's zone. |
to | string | Last day of a range, YYYY-MM-DD. |
weekends | boolean | Include Saturday and Sunday in a range. Default false. |
status
Whether the user is free right now, until when, and their next free slot. Use it for "am I free now?", "when is my next gap?" or before interrupting the user. Returns no event titles.
| Parameter | Type | Description |
|---|---|---|
min_minutes | integer | Shortest gap that counts as the next free slot. Default: the user's setting. |
timezone | string | Time zone for the answer, like "Europe/London". Default: the user's zone. |
check_calendars
Check that the user's calendars can be read. Returns each calendar's name, how many events it holds and how many block time in the next 14 days. Use it when free_slots fails or to confirm the setup. Returns no event details and no calendar addresses.
connected_accounts
Which services are signed in on this computer (Google, Microsoft, Slack, GitHub, Notion, Linear, HubSpot). No tokens. If one is not connected, tell the user to run whenfree connect for that service.
gmail_search
Search the user's Gmail. Returns ids, senders and subjects, not the full body. Use gmail_read for one message. Does not send mail.
| Parameter | Type | Description |
|---|---|---|
max | integer | How many to return. Default 8, at most 20. |
query | string | Gmail search, such as "from:me@example.com newer_than:7d". |
gmail_read
Read one Gmail message by the id gmail_search returned. Does not send or change mail.
| Parameter | Type | Description |
|---|---|---|
id | string | The message id. |
gmail_thread
Read one Gmail thread by id. Does not send or change mail.
| Parameter | Type | Description |
|---|---|---|
id | string | The thread id. |
gmail_labels
List Gmail labels. Does not change them.
gmail_draft
Save a Gmail draft. It does not send the message.
| Parameter | Type | Description |
|---|---|---|
body | string | Plain text body. |
subject | string | Subject. |
to | string | Recipient address. |
drive_search
Search the user's Google Drive by file name. Read only.
| Parameter | Type | Description |
|---|---|---|
max | integer | How many to return. Default 8, at most 20. |
query | string | Words from the file name. |
drive_read
Read one Drive file as text, by the id drive_search returned. Read only.
| Parameter | Type | Description |
|---|---|---|
id | string | The file id. |
outlook_search
Search the user's Outlook mail. Does not send mail.
| Parameter | Type | Description |
|---|---|---|
max | integer | How many to return. Default 8, at most 20. |
query | string | Words to search for. |
outlook_read
Read one Outlook message by the id outlook_search returned. Does not send mail.
| Parameter | Type | Description |
|---|---|---|
id | string | The message id. |
outlook_draft
Save an Outlook draft. It does not send the message.
| Parameter | Type | Description |
|---|---|---|
body | string | Plain text body. |
subject | string | Subject. |
to | string | Recipient address. |
teams_joined
List the Teams the user has joined.
teams_channels
List channels in one Team.
| Parameter | Type | Description |
|---|---|---|
team | string | The team id from teams_joined. |
teams_history
Read recent messages in a Teams channel.
| Parameter | Type | Description |
|---|---|---|
channel | string | The channel id. |
max | integer | How many to return. Default 8, at most 20. |
team | string | The team id. |
teams_post
Post a message to a Teams channel. This sends the message.
| Parameter | Type | Description |
|---|---|---|
channel | string | The channel id. |
team | string | The team id. |
text | string | The message to post. |
slack_channels
List Slack channels the bot can see.
slack_history
Read recent messages in a Slack channel.
| Parameter | Type | Description |
|---|---|---|
channel | string | The channel id from slack_channels. |
max | integer | How many to return. Default 8, at most 20. |
slack_post
Post a message to a Slack channel as the bot. This sends the message.
| Parameter | Type | Description |
|---|---|---|
channel | string | The channel id. |
text | string | The message to post. |
github_repos
List the user's GitHub repositories. Does not push or change them.
| Parameter | Type | Description |
|---|---|---|
max | integer | How many to return. Default 8, at most 20. |
github_issues
List open issues on one repository. Pull requests are left out.
| Parameter | Type | Description |
|---|---|---|
max | integer | How many to return. Default 8, at most 20. |
owner | string | The owner. |
repo | string | The repository. |
github_issue
Read one GitHub issue.
| Parameter | Type | Description |
|---|---|---|
number | integer | The issue number. |
owner | string | The owner. |
repo | string | The repository. |
github_comment
Post a comment on a GitHub issue. This sends the comment. It does not push code.
| Parameter | Type | Description |
|---|---|---|
body | string | The comment. |
number | integer | The issue number. |
owner | string | The owner. |
repo | string | The repository. |
notion_search
Search the user's Notion. Read only.
| Parameter | Type | Description |
|---|---|---|
max | integer | How many to return. Default 8, at most 20. |
query | string | Words to search for. |
notion_read
Read the text of one Notion page or block. Read only.
| Parameter | Type | Description |
|---|---|---|
id | string | The id notion_search returned. |
linear_issues
List recent Linear issues. Read only.
| Parameter | Type | Description |
|---|---|---|
max | integer | How many to return. Default 8, at most 20. |
linear_issue
Read one Linear issue. Read only.
| Parameter | Type | Description |
|---|---|---|
id | string | The issue identifier, such as ENG-1. |
hubspot_contacts
List or search HubSpot contacts. Read only.
| Parameter | Type | Description |
|---|---|---|
max | integer | How many to return. Default 8, at most 20. |
query | string | Optional words to search for. |
hubspot_deals
List or search HubSpot deals. Read only.
| Parameter | Type | Description |
|---|---|---|
max | integer | How many to return. Default 8, at most 20. |
query | string | Optional words to search for. |