Skip to main content

MCPApprovalRequest

An operator agent's tool call, held for a person to decide.

type MCPApprovalRequest {
id: ID!
createdAt: DateTime!
updatedAt: DateTime!
tool: String!
argumentsDigest: String!
draftedFix: String!
reason: String!
subjectId: String!
decidedAt: DateTime
decisionNote: String!
claimedAt: DateTime
resultRef: String!
error: String!
status: MCPApprovalRequestStatus!
arguments: JSONString!
}

Fields​

MCPApprovalRequest.id ● ID! non-null scalar​

The ID of the object.

MCPApprovalRequest.createdAt ● DateTime! non-null scalar​

MCPApprovalRequest.updatedAt ● DateTime! non-null scalar​

MCPApprovalRequest.tool ● String! non-null scalar​

MCPApprovalRequest.argumentsDigest ● String! non-null scalar​

SHA-256 of the tool and arguments as canonical JSON.

MCPApprovalRequest.draftedFix ● String! non-null scalar​

What the agent proposes, for the person to read.

MCPApprovalRequest.reason ● String! non-null scalar​

Why the policy held the call.

MCPApprovalRequest.subjectId ● String! non-null scalar​

Global ID of what the call concerns, if anything.

MCPApprovalRequest.decidedAt ● DateTime scalar​

MCPApprovalRequest.decisionNote ● String! non-null scalar​

MCPApprovalRequest.claimedAt ● DateTime scalar​

When the requester claimed it to run.

MCPApprovalRequest.resultRef ● String! non-null scalar​

Global ID of what the run produced, if anything.

MCPApprovalRequest.error ● String! non-null scalar​

Why the run failed, if it did.

MCPApprovalRequest.status ● MCPApprovalRequestStatus! non-null enum​

Where the request stands.

MCPApprovalRequest.arguments ● JSONString! non-null scalar​

The held call's arguments, exactly as the agent sent them.

Returned By​

mcpApprovalRequest query ● mcpApprovalRequests query

Member Of​

MCPApprovalRequestClaim object ● MCPApprovalRequestCreate object ● MCPApprovalRequestDecide object ● MCPApprovalRequestFinish object

Was this page helpful?