mcpApprovalResponse

fun mcpApprovalResponse(approvalRequestId: String, approve: Boolean, reason: String? = null, id: String? = null)

Adds an MCP approval response input item.

Parameters

approvalRequestId

The ID of the approval request being responded to.

approve

Whether the request is approved.

reason

Optional reason for the decision.

id

Optional unique identifier for this item.