crewai_flow_run
Run a flow project using the Python API with optional inputs, ensuring proper tool execution without interactive prompts.
Instructions
Execute a Flow project using the Python API.
This runs the flow directly using the Python API (flow.kickoff(inputs=...)) instead of the CLI, ensuring proper tool execution and avoiding interactive prompts.
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": {
"project_name": "<project_name>"
},
"name": "crewai_flow_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_name | Yes | Project name | |
| inputs | No | Optional inputs for the flow |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |