Skip to content

fluent-booking/diagnose-availability

Explain why an event type is or is not offering slots. Returns every rule that can remove slots with its configured value, and attributes each empty date to the specific rule responsible.

Ability

  • Kind: Tool
  • Toolset: core
  • Edition: Core
  • Mode: read-only
  • Permission callback: PermissionGate::readGate()
  • Handler: SlotTools::diagnose()
  • Source: fluent-booking/app/Modules/MCP/Tools/SlotTools.php:73

Input schema

ParameterTypeRequiredDescription
event_idintegerYesThe event type to investigate.
fromstringNoFirst date to investigate, Y-m-d. Defaults to today.
tostringNoLast date to investigate, Y-m-d. Defaults to 14 days out; 62 days maximum.
timezonestringNoIANA timezone the dates are interpreted in.
host_idintegerNoInvestigate one host on a team event.

Example call

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