create_flow_run_from_deployment
Execute a Prefect workflow by triggering a flow run from an existing deployment, with optional parameters, tags, and idempotency controls.
Instructions
Create a flow run from a deployment.
Args: deployment_id: The deployment UUID parameters: Optional parameters to pass to the flow run name: Optional name for the flow run tags: Optional tags for the flow run idempotency_key: Optional idempotency key
Returns: Details of the created flow run
Input Schema
Name | Required | Description | Default |
---|---|---|---|
deployment_id | Yes | ||
idempotency_key | No | ||
name | No | ||
parameters | No | ||
tags | No |
Input Schema (JSON Schema)
{
"properties": {
"deployment_id": {
"title": "Deployment Id",
"type": "string"
},
"idempotency_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Idempotency Key"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Name"
},
"parameters": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Parameters"
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Tags"
}
},
"required": [
"deployment_id"
],
"type": "object"
}