Skip to main content

AgentApproval

Short-lived single-use human decision bound to one tool call and canonical argument hash.

type AgentApproval {
approvalId: String!
toolCallId: String!
argumentHash: String!
status: CrowdyStudioAgentApprovalStatus!
safeSummary: String!
clientEpoch: BigInt!
expiresAt: DateTime!
approved: Boolean!
rejected: Boolean!
}

Fields

AgentApproval.approvalId ● String! non-null scalar

Stable approval UUID.

AgentApproval.toolCallId ● String! non-null scalar

Tool call UUID this decision binds.

AgentApproval.argumentHash ● String! non-null scalar

Canonical sha256 argument/context binding shown to the human.

AgentApproval.status ● CrowdyStudioAgentApprovalStatus! non-null enum

Current single-use lifecycle.

AgentApproval.safeSummary ● String! non-null scalar

Safe bounded domain summary shown before approval.

AgentApproval.clientEpoch ● BigInt! non-null scalar

Attached client epoch authorized to decide.

AgentApproval.expiresAt ● DateTime! non-null scalar

Hard decision/consumption expiry.

AgentApproval.approved ● Boolean! non-null scalar

True when this response granted/consumed the approval.

AgentApproval.rejected ● Boolean! non-null scalar

True when this response denied the approval.

Returned By

crowdyStudioAgentApproveTool mutation ● crowdyStudioAgentRejectTool mutation

Member Of

AgentSession object