find_free_time
Return free slots (default 30 min) in a date range [from,to], given the events + meetings of everyone involved. One person by default (user_id, or the caller). Pass user_ids to get the slots that suit ALL of them — busy is anything that is busy for anyone, which is what a two-way booking needs. Optional duration_min, agent_id (that agent's calendar instead of a person's). What this CANNOT do: read the calendar of an outside prospect — nobody has access to it. Slots proposed to a prospect are proposals, not commitments; the prospect confirms one, and only then is it booked.
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": {
"from": "<from>",
"to": "<to>"
},
"name": "find_free_time"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | End of the search range (ISO date-time) | |
| from | Yes | Start of the search range (ISO date-time) | |
| user_id | No | ID of the user | |
| agent_id | No | ID of the agent | |
| user_ids | No | Two or more people who all have to be free | |
| duration_min | No | Slot length in minutes (default 30) |