Skip to main content

GrantAgentLeaseInput

Human-grant a visible, scoped Play lease for the current grid/entity/host revision.

input GrantAgentLeaseInput {
idempotencyKey: String!
sessionId: String!
clientEpoch: BigInt!
scopes: [String!]!
durationSeconds: Int!
controlledEntityId: String!
hostCapabilityRevision: String!
}

Fields

GrantAgentLeaseInput.idempotencyKey ● String! non-null scalar

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

GrantAgentLeaseInput.sessionId ● String! non-null scalar

Owner/app PLAY session UUID.

GrantAgentLeaseInput.clientEpoch ● BigInt! non-null scalar

Current attached client epoch.

GrantAgentLeaseInput.scopes ● [String!]! non-null scalar

Explicit unique Play scopes: observe, locomotion, interact, craft, combat, communicate, or travel.

GrantAgentLeaseInput.durationSeconds ● Int! non-null scalar

Human-selected duration in seconds (1–600); no silent renewal.

GrantAgentLeaseInput.controlledEntityId ● String! non-null scalar

Current player-controlled entity identifier, capped at 128 characters.

GrantAgentLeaseInput.hostCapabilityRevision ● String! non-null scalar

Exact current host capability revision.

Member Of

crowdyStudioAgentGrantLease mutation