Appearance
UpsertAIAgentInput
Type: Input
Input for creating or updating an AI agent
Fields
| Name | Type | Default | Description |
|---|---|---|---|
| adapterId | AIAdapterID! | Which AI adapter to use | |
| allowedGraphQLOperations | [String!] | Allowlist of GraphQL operations | |
| backstory | String! | Rich context about expertise and perspective | |
| description | String | Optional description | |
| goal | String! | What this agent is trying to achieve | |
| id | AIAgentID | Optional ID for updates | |
| maxExecutionTimeSeconds | Int | Timeout for a single invocation | |
| maxIterations | Int | Max tool-calling iterations | |
| maxTokens | Int | Max response tokens override | |
| model | String | Model override | |
| name | String! | Display name | |
| responseFormat | AgentResponseFormat | Expected output format | |
| role | String! | Short role title | |
| systemPromptTemplate | String | Additional system prompt template | |
| temperature | Float | Temperature override | |
| tools | [AgentToolRefInput!] | Tools this agent can use |