CreateAiTaskInput
Type: Input
Fields
| Name | Type | Default | Description |
|---|---|---|---|
| agentId | ID! | ||
| context | String | Additional context for the task | |
| description | String! | Interpolated description with actual values from the execution input | |
| executionId | ID! | ||
| expectedOutput | String | Description of what output is expected from this task | |
| metadata | JsonString | Additional metadata for the task | |
| outputJsonSchema | JsonString | JSON Schema for structured output. When provided, the LLM will use JSON mode with this schema to ensure valid JSON output | |
| priority | Int | Task priority (higher numbers = higher priority) | |
| taskTemplateId | ID |