Skip to main content

SetAgentModeInput

Atomically select human mode plus optional project/grid and repin effective policy revisions, descriptors, registry digest, and context while preempting old authority.

input SetAgentModeInput {
idempotencyKey: String!
sessionId: String!
clientEpoch: BigInt!
mode: CrowdyStudioAgentMode!
projectId: String
gridId: BigInt
}

Fields

SetAgentModeInput.idempotencyKey ● String! non-null scalar

Required retry key. Same owner, operation, key, and input replay the first result; changed input returns IDEMPOTENCY_CONFLICT.

SetAgentModeInput.sessionId ● String! non-null scalar

Owner/app session UUID.

SetAgentModeInput.clientEpoch ● BigInt! non-null scalar

Current attached client epoch.

SetAgentModeInput.mode ● CrowdyStudioAgentMode! non-null enum

New human-selected mode; the model cannot call this mutation.

SetAgentModeInput.projectId ● String scalar

Optional owner project UUID to atomically repin with the mode. Omit to retain it; BUILD requires the resulting selection.

SetAgentModeInput.gridId ● BigInt scalar

Optional grid context to atomically repin with the mode. Omit to retain it; PLAY requires the resulting grid.

Member Of

crowdyStudioAgentSetMode mutation