List Routines
routine_list · Tools · Agents
Read the routines of a session or the workspace, with their next runs
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
session_id | string | No | A session id to see that session's, or "all" for every session in the workspace. Use null for this session. |
Routine List Tool#
Lists routines with their next runs. Read-only.
When to Use#
The agent checks this before creating, changing or deleting a routine, so it does not schedule the same thing twice.
Parameters#
| Field | Type | Required | Description |
|---|---|---|---|
session_id |
string or null | no | A session id, "all" for the whole workspace, or null for the calling session (the whole workspace for a caller that is not a session) |
Returns#
| Field | Type | Description |
|---|---|---|
count |
number | How many routines |
routines |
array | Each routine with enabled, next_runs, next_runs_local, finished, and missed_at / missed_reason when a run could not be delivered |