Skip to main content
Update Project Agent mutation.

Operation details

FieldValue
NameupdateProjectAgent
GroupProject Primitives
TypeMutation
SignatureupdateProjectAgent(input: UpdateProjectAgentInput!): ProjectAgentDocument

Playground

Query

Query
mutation UpdateProjectAgent($input: UpdateProjectAgentInput!) {
  updateProjectAgent(input: $input) {
    id
    name
    description
    allowedModels
    editMode
    maxSteps
  }
}

Variables

Variables
{
  "input": {
    "projectId": "",
    "agentId": "",
    "name": "",
    "systemPrompt": ""
  }
}