CreateAiTaskTemplateInput
Type: Input
Fields
| Name | Type | Default | Description |
|---|---|---|---|
| agentId | ID! | ||
| contextTemplate | String | Template for additional context to provide to the agent, supports placeholders | |
| description | String! | Template description with placeholders like that will be interpolated at execution time | |
| expectedOutput | String | Description of expected output format for this task | |
| metadata | JsonString | Additional metadata for the task template | |
| name | String! | The name of the task template | |
| outputJsonSchema | JsonString | JSON Schema for structured output. When provided, the task will use JSON mode with this schema to ensure the agent returns valid JSON matching the schema | |
| position | Int | Order within the team workflow (lower numbers execute first in sequential mode) | |
| priority | Int | Task priority (higher numbers = higher priority) | |
| teamId | ID! |