Skip to main content

CreateAgentInput

Input for creating an agent

input CreateAgentInput {
name: String!
description: String
color: Color
constraintLevel: ConstraintLevel
instructions: String
toolIds: [ID!]
}

Fields​

CreateAgentInput.name ● String! non-null scalar​

The name of the agent (required)

CreateAgentInput.description ● String scalar​

A description of the agent's purpose

CreateAgentInput.color ● Color enum​

The color for the agent

CreateAgentInput.constraintLevel ● ConstraintLevel enum​

How strictly the agent follows instructions

CreateAgentInput.instructions ● String scalar​

Custom instructions for the agent

CreateAgentInput.toolIds ● [ID!] list scalar​

IDs of tools to assign to the agent

Member Of​

createAgent mutation