update_flow
Updates a Directus automation flow by ID, modifying selected fields like name, status, trigger, options, or description while leaving other settings unchanged.
Instructions
Updates one flow by id: name, status, trigger, description or trigger options. Idempotent, and it replaces the keys present in data while leaving the rest alone. Switching status to active makes the flow start reacting to its trigger at once, and changing trigger or options can leave the flow inconsistent with operations built for the old trigger. Operations themselves are not edited here, so read them with get_flow or get_operations. This tool writes an automation and has nothing to do with analyze_relationships, which inspects the data model.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>",
"data": "<data>"
},
"name": "update_flow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Flow ID | |
| data | Yes | Flow data to update |