go-sdk/internal
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
..
jsonrpc2 mcp: pass TokenInfo to server handler (#292) 2025-08-20 10:50:16 -04:00
readme mcp: change tool handler design (#325) 2025-08-20 19:36:34 -04:00
util internal/util: move FieldJSONInfo into jsonschema/util (#251) 2025-08-06 12:07:57 -04:00
xcontext x/tools: modernize interface{} -> any 2025-02-19 15:14:27 -08:00