get_flows
Lists Directus automation flows with filtering, sorting, search, and pagination so you can find active, inactive, or folder-specific flows; returns metadata only.
Instructions
Lists Directus automation flows with filtering, sorting, search and pagination. Use get_flow for one flow and its operations, get_operations for operations across flows, trigger_flow to run one. status narrows to active or inactive flows; folder (Directus 12.4+) narrows to one flow folder, where an empty string means root-level flows. Returns at most 25 flows unless limit says otherwise, and flow metadata only: operations are omitted unless get_flow asks for them.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_flows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Sort fields | |
| limit | No | Number of flows to return (default: 25) | |
| fields | No | Fields to return | |
| filter | No | Filter conditions | |
| folder | No | Directus 12.4+: only flows in this folder (folder ID); pass "" for root-level flows | |
| offset | No | Number of flows to skip | |
| search | No | Search query | |
| status | No | Filter by flow status |