Find today's best time window for one kind of work, using the stored sleep
history of the account this server is configured with.
Returns a start and end time for the window and the projected capacity
across it, tuned to the kind of work: analytical, creative, learning or
administrative.
Choose this tool when the user wants a slot for a task later today. Use
whenpeak_performance_now for the current moment instead, and
whenpeak_quick_predict when working from sleep the user describes rather
than stored history.
Requires WHENPEAK_API_KEY on the server and reads that one account's
history, so it is only meaningful where the server runs with the user's own
key. Without a key it returns a not_configured error rather than failing.
Read-only and stores nothing, but each call counts against that account's
monthly quota.
Args:
task_type: "analytical" | "creative" | "learning" | "administrative"
duration_minutes: window length in minutes (default 90)
Connector