McpApprovalResponseItem - Go SDK

McpApprovalResponseItem type definition

The Go SDK and docs are currently in beta. Report issues on GitHub.

User response to an MCP tool approval request

Fields

FieldTypeRequiredDescription
ApprovalRequestIDstring✔️N/A
Approvebool✔️N/A
IDoptionalnullable.OptionalNullable[string]N/A
Reasonoptionalnullable.OptionalNullable[string]N/A
Typecomponents.McpApprovalResponseItemType✔️N/A