# List Workflows Tool

Lists the workspace's workflows one page at a time, with their groups, for discovery and overview purposes.

## When to Use

The AI uses this tool when generating workflow documentation, providing users with workflow overviews, or building meta-workflows that need to discover and interact with other workflows. It's useful for status reports that show which workflows are active or for debugging workflows that trigger other workflows.

## Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `limit` | number | No | Most workflows to return in this page: 1 to 1024 (default: 50) |
| `offset` | number | No | Workflows to skip before the page starts: 0 or greater (default: 0) |

A `limit` or `offset` outside its range is refused with an error naming the range; neither is clamped.

## Returns

| Field | Type | Description |
|-------|------|-------------|
| `count` | number | Workflows in this page |
| `total` | number | Every workflow in the workspace, whatever the `limit` and `offset` |
| `offset` | number | The offset this page starts at |
| `limit` | number | The limit this page was read with |
| `has_more` | boolean | Whether workflows follow this page |
| `next_offset` | number \| null | The `offset` of the next page while `has_more`, else `null` |
| `groups` | array | The workspace's workflow groups |
| `workflows` | array | Workflow objects with `id` (the workflow's slug), `name`, `description`, `node_count`, `enabled`, `public_url`, and `group` |
| `broken` | array | Workflows in this page that could not be read, each with `id`, `name`, `error`, and `suggestion` |
| `broken_count` | number | Entries in `broken` |

## Reading Every Workflow

One call is one page, not the whole workspace. To see every workflow, call with `offset` 0, then call again with `offset` set to `next_offset` while `has_more` is true. `total` says how many workflows the walk will see. An `offset` past the end returns `count: 0` with the workspace's `total` and `has_more: false`.

A broken workflow is listed under `broken` instead of `workflows` and still takes its place in the page, so `next_offset` moves past it.

## Example Scenario

A documentation workflow walks every page of this tool to collect all workflows, then uses `GetWorkflowTool` to retrieve full definitions and generates a comprehensive workflow catalog with descriptions, trigger types, and node counts for each workflow.

## Notes

- Returns workflows ordered by name, with ties broken by id, so the order holds from one page to the next
- Does not include full workflow definitions (use `GetWorkflowTool` for that)
- Respects workspace boundaries (multi-tenant safe)
- Includes workflows regardless of trigger configuration
- Use `ExecuteWorkflowTool` to execute workflows
