Set Timer
timer_set · Tools · Agents
Wake this session once, within the day, with a short cue of what to look at
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
at | string | No | A clock time: RFC 3339 with an offset, or a local time read in the workspace timezone. Use null when giving in_minutes. |
cue | string | Yes | A short note of what to check, at most 80 characters, such as "Did build 482 pass?" or a task id. |
in_minutes | integer | No | Minutes from now. Use null when giving at. |
session_id | string | No | Id of the session to wake, from session_list. Use null for this session. Do not invent it. |
Timer Set Tool#
timer_set sets a short timer that wakes the agent's session once, so it can come back and check on something, such as a build, an async job or a reply from another system. When it goes off, the session wakes with the timer's note as a <system origin="Timer"> message.
When to Use#
The agent sets a timer when it expects to return to long-running work later today. Ending a turn does not wake it again. A timer reaches at most 24 hours ahead; a longer wait is a task.
Parameters#
| Field | Type | Required | Description |
|---|---|---|---|
cue |
string | yes | A short note of what to check, at most 80 characters, such as "Did build 482 pass?" or a task id |
in_minutes |
integer or null | one of | Minutes from now. Null when giving at |
at |
string or null | one of | A clock time: RFC 3339 with an offset, or a local time read in the workspace timezone. Null when giving in_minutes |
session_id |
string or null | no | Id of the session to wake, from session_list. Null is the calling session |
Returns#
| Field | Type | Description |
|---|---|---|
timer |
object | id, session_id, cue, due_at, created_at |
Examples#
{"cue": "Did build 482 pass?", "in_minutes": 10}
{"cue": "Check in on task 01M7C2KQ4V8N3XHT6Y0RZ5B1JD", "in_minutes": 45}
Notes#
- Exactly one of
atandin_minutesis given; both or neither is refused. - A cue over 80 characters is refused, with its length:
cue is 312 characters; a timer's cue is at most 80: the one thing to check, such as "Did the merge of #482 land?". Write what you will need when it goes off into a task or a document first, and name it in the cue by id, such as "Check in on document 01M7DQ6568GJS16VMTDHQPKM9S". - An empty cue is refused:
cue must not be empty - A time more than 24 hours ahead is refused:
A timer reaches at most 24 hours ahead, and 2026-11-21T09:00:00+01:00 is 6 days away. For a later day, put it in a task scheduled for that day (task_create), where the user and your routines will see it; for something that repeats, use routine_create.A distance under 48 hours is given in hours, rounded up; a longer one in whole days. - A time in the past is refused:
The timer time <due_at> is in the past; give a future time or in_minutes - A timer goes off once, however late.