-
Notifications
You must be signed in to change notification settings - Fork 702
Closed
Labels
area: sdkSDK improvements unrelated to MCP specificationSDK improvements unrelated to MCP specificationtype: enhancementNew feature or enhancement requestNew feature or enhancement request
Description
I believe that for smoother MCP calls, we should change the type of Params.Arguments
to interface{}
.
Currently, Params.Arguments
in mcp.CallToolRequest
is defined as a map type, which I assume was intended to let MCP server developers own the argument type. However, using a map is too restrictive.
I propose changing it to any
(or interface{}
). Although this type is less strict, it would make it easier to convert the struct to JSON using reflection.
Metadata
Metadata
Assignees
Labels
area: sdkSDK improvements unrelated to MCP specificationSDK improvements unrelated to MCP specificationtype: enhancementNew feature or enhancement requestNew feature or enhancement request