← All types
In Input object

CreateAIAgentInput

Input for creating an AI agent

Fields

name

String!Required

Display name

Optional description

role

String!Required

Short role title

goal

String!Required

What this agent is trying to achieve

Rich context about expertise and perspective

Which AI adapter to use

model

StringOptional

Model override

Temperature override

maxTokens

IntOptional

Max response tokens override

Additional system prompt template

Expected output format

Possible values (3)
TEXT

Free-form text response

JSON

Structured JSON response

TASK_OUTCOME

Task outcome response with outcome and outcomeData

Max tool-calling iterations

Tools this agent can use

Allowlist of GraphQL operations

Timeout for a single invocation

Referenced by (1)
Exact type SDL
"""Input for creating an AI agent"""
input CreateAIAgentInput {
  """Display name"""
  name: String!
  """Optional description"""
  description: String
  """Short role title"""
  role: String!
  """What this agent is trying to achieve"""
  goal: String!
  """Rich context about expertise and perspective"""
  backstory: String!
  """Which AI adapter to use"""
  adapterId: AIAdapterID!
  """Model override"""
  model: String
  """Temperature override"""
  temperature: Float
  """Max response tokens override"""
  maxTokens: Int
  """Additional system prompt template"""
  systemPromptTemplate: String
  """Expected output format"""
  responseFormat: AgentResponseFormat
  """Max tool-calling iterations"""
  maxIterations: Int
  """Tools this agent can use"""
  tools: [AgentToolRefInput!]
  """Allowlist of GraphQL operations"""
  allowedGraphQLOperations: [String!]
  """Timeout for a single invocation"""
  maxExecutionTimeSeconds: Int
}