go-sdk/examples
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jonathan Amsterdam 32cf71de3a
mcp: change tool handler design (#325)
Change the design of tool handlers by removing genericity from the common path.
- `ToolHandler` gets the args as a `json.RawMessage`. Using Server.AddTool does no unmarshaling or schema validation.
- `ToolHandlerFor`, installed with `AddTool`, are the only generic pieces.

TODO:
uncomment and fix some tests
2025-08-20 19:36:34 -04:00
..
client/listfeatures mcp: make transports open structs 2025-08-12 15:14:21 -04:00
server mcp: change tool handler design (#325) 2025-08-20 19:36:34 -04:00