# 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 |
