find_available_slot
Finds available posting time slots that respect a 1-hour gap and preferred hours, returning UTC instants for scheduling. Pass the user's timezone and optionally rank slots by best engagement.
Instructions
Find available time slots for posting. Respects a 1-hour gap between posts and preferred hours (8am-10pm in the given timezone). Returns up to 10 slots. IMPORTANT: pass a timezone explicitly - default is America/New_York and slots will be off if the user is elsewhere. Each slot includes the UTC instant to pass as scheduled_at. Pass workspace_id to only avoid collisions with posts in that workspace. strategy "best_engagement" (needs account_ids) ranks the next 7 days by when these accounts get the most engagement, with a 1-5 star rating and a reason per slot.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of slots to return (max 10). Default 5 for next_free, 3 for best_engagement. | |
| strategy | No | next_free (default): earliest free slots. best_engagement: best times by engagement (requires account_ids). | |
| timezone | No | IANA timezone (e.g. Asia/Dubai, Europe/London). Defaults to America/New_York - pass the user's actual timezone or slots will be wrong. | |
| account_ids | No | Filter slots for specific account IDs | |
| workspace_id | No | Scope slot-finding to a single workspace (get IDs via whoami). |