Skip to content

UpsertAIAgentInput ​

Type: Input

Input for creating or updating an AI agent

Fields ​

NameTypeDefaultDescription
adapterIdAIAdapterID!Which AI adapter to use
allowedGraphQLOperations[String!]Allowlist of GraphQL operations
backstoryString!Rich context about expertise and perspective
descriptionStringOptional description
goalString!What this agent is trying to achieve
idAIAgentIDOptional ID for updates
maxExecutionTimeSecondsIntTimeout for a single invocation
maxIterationsIntMax tool-calling iterations
maxTokensIntMax response tokens override
modelStringModel override
nameString!Display name
responseFormatAgentResponseFormatExpected output format
roleString!Short role title
systemPromptTemplateStringAdditional system prompt template
temperatureFloatTemperature override
tools[AgentToolRefInput!]Tools this agent can use

Connect machines, automate workflows, and build custom apps for print production.