McpServerTool - Go SDK

McpServerTool type definition

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

MCP (Model Context Protocol) tool configuration

Fields

FieldTypeRequiredDescription
AllowedToolsoptionalnullable.OptionalNullable[components.AllowedToolsUnion]N/A
Authorization*stringN/A
ConnectorID*components.ConnectorIDN/A
Headersoptionalnullable.OptionalNullable[map[string]string]N/A
RequireApprovaloptionalnullable.OptionalNullable[components.RequireApprovalUnion]N/A
ServerDescription*stringN/A
ServerLabelstring✔️N/A
ServerURL*stringN/A
Typecomponents.McpServerToolType✔️N/A