create-flow
Create a new cloud flow by providing a Logic Apps workflow JSON definition. Optionally specify connection references to existing connectors.
Instructions
Create a new cloud flow. definition is a Logic Apps workflow JSON (triggers + actions). connectionReferences must bind to EXISTING connector connections (the API will not mint OAuth connections for you -- see list-connections). Connector-less flows (recurrence + HTTP) need no references.
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": {
"displayName": "<displayName>",
"definitionJson": "<definitionJson>"
},
"name": "create-flow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | Initial state (default Started) | |
| displayName | Yes | Display name for the new flow | |
| environment | No | Environment id (defaults to POWER_AUTOMATE_ENV) | |
| definitionJson | Yes | Workflow definition as a JSON string (schema/triggers/actions) | |
| connectionReferencesJson | No | connectionReferences as a JSON string (omit for connector-less flows) |