From 1373ddf905ccd93cbcdc4448320bdf7ad4e9d2a9 Mon Sep 17 00:00:00 2001 From: Jonathan Amsterdam Date: Wed, 25 Jun 2025 13:19:35 -0400 Subject: [PATCH] mcp: add a TODO (#31) --- mcp/tool.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mcp/tool.go b/mcp/tool.go index ee4967b..5bf9440 100644 --- a/mcp/tool.go +++ b/mcp/tool.go @@ -44,6 +44,8 @@ type ServerTool struct { // The input schema for the tool is extracted from the request type for the // handler, and used to unmmarshal and validate requests to the handler. This // schema may be customized using the [Input] option. +// +// TODO(jba): check that structured content is set in response. func NewServerTool[In, Out any](name, description string, handler ToolHandlerFor[In, Out], opts ...ToolOption) *ServerTool { st, err := newServerToolErr[In, Out](name, description, handler, opts...) if err != nil {