updateAgent(input: UpdateProjectAgentInput!): ProjectAgentDocument!
Requires project.agents.write.
Arguments
Input fields
input
All fields of UpdateProjectAgentInput.
Response
Returns ProjectAgentDocument!. Open the type for its fields and nested types.
All fields of ProjectAgentDocument.
Types marked with ! cannot be null. Lists use [Type] notation. The type index lists all published input and response types.
Example
mutation UpdateAgent($input: UpdateProjectAgentInput!) {
updateAgent(input: $input) {
id
name
allowedModels
allToolsEnabled
avatar
}
}{
"input": {
"projectReference": "00000000-0000-4000-8000-000000000001",
"agentId": "00000000-0000-4000-8000-000000000001"
}
}