task_create_task_definition
Create or update a task definition by specifying name, description, retry count, and timeout settings for Conductor workflows.
Instructions
Creates or updates a task definition.
The task definition should include at minimum:
name: The name/type of the task
description: A description of what the task does
retryCount: Number of retries (default: 3)
timeoutSeconds: Task timeout in seconds
responseTimeoutSeconds: Response timeout in seconds
Example task definition: { "name": "my_custom_task", "description": "A custom task that processes data", "retryCount": 3, "timeoutSeconds": 300, "responseTimeoutSeconds": 180, "inputKeys": ["input1", "input2"], "outputKeys": ["result"] }
Args: task_definition: A dictionary containing the task definition
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_definition | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |