Create flow
create_flowSave a new persistent regression flow with all of its steps in one call (up to 100 steps, run in array order). Steps are validated before anything is saved; navigate and api URLs must be public. The flow stays in Regresco for scheduled and CI runs after this session.
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": {
"projectId": "<projectId>",
"name": "<name>",
"steps": "<steps>"
},
"name": "create_flow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Flow name, e.g. 'Login with email' | |
| steps | Yes | Steps in the order they run | |
| device | No | What the flow runs on. desktop: 1280x720. phone: 412x839 in Chromium, with a phone's touch and browser identity, so a site with no mobile version shows as it does there. Not a real device and not Safari. A flow on a phone can't have hover steps. | |
| projectId | Yes | Project ID, as returned by Regresco tools | |
| description | No | What the flow verifies |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flow | Yes |