v1

OpenAPI 3.1.02026-07-13632897.9 KB
focused-tools

Check Calendar

MCP tool → backend endpoint. Loads: - system default keywords - user custom keywords Identifies focus blocks from Google Calendar.

Identity Source (Increment 7D): - Primary: X-User-ID header (from MCP after JWT validation) - Fallback: hardcoded test_user (for backward compatibility) - Logs warning if fallback is used

post/api/focused/tools/check_calendar

Request body

time_startstring nullable

ISO8601 start time. None = now.

time_endstring nullable

ISO8601 end time. None = start + 7 days.

max_resultsinteger

Max events to scan (1-50)

Response

Successful Response

{"stackTrail":"paths:/api/focused/tools/check_calendar:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}