Skip to content

fluent-booking/get-availability

Availability schedules — the weekly hours and date overrides an event type draws on. Lists them, or returns one in full when schedule_id is given. Hours are returned in the schedule's own timezone unless you ask for another.

Ability

  • Kind: Tool
  • Toolset: scheduling
  • Edition: Core
  • Mode: read-only
  • Permission callback: PermissionGate::readGate()
  • Handler: SchedulingTools::getAvailability()
  • Source: fluent-booking/app/Modules/MCP/Tools/SchedulingTools.php:49

Input schema

ParameterTypeRequiredDescription
schedule_idintegerNoReturn this one schedule in full instead of the list.
host_idintegerNoOnly schedules belonging to this host.
timezonestringNoExpress the weekly hours in this IANA zone. Defaults to each schedule's own.

Example call

json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "fluent-booking/get-availability",
    "arguments": {}
  }
}