create_time_block
Create a time block for a specific date and time, returning its ID for immediate use in tasks or scheduling.
Instructions
Create a time block (experimental) and get its id back. EXPERIMENTAL: Create a time block via /doc/create (db='PlannerItems', Full Access Token). No official endpoint exists. Verify in the app that the block looks right.
The response carries time_block_id (the id is set client-side because
/doc/create does not echo the server-generated id) and can be used
directly as time_block_section in create_task/update_task — no extra
get_today_time_blocks call needed. Client-set id live-tested 2026-09-13:
accepted, listed in /todayTimeBlocks with the same id, and the block
renders in the app like one created there (verified in the app
2026-09-13, app 1.70.0.0, PWA + desktop).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Date YYYY-MM-DD | |
| title | Yes | Block name, e.g. 'Morning' | |
| start_time | Yes | Start time HH:mm (local time) | |
| duration_minutes | Yes | Length in minutes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||