You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
McpServer tool parameters should be decoded with their JSON codec #10331
McpServer decodes tool parameters from the schema's Encoded type to the Type type, so it always fails if the Encoded type is not valid JSON, e.g. Schema.Date.
What is the feature you are proposing to solve the problem?
Use the JSON codec to decode tool parameters, e.g. Schema.Date would accept ISO strings.
What alternatives have you considered?
Use Schemas with valid JSON as its Encoded type, e.g. Schema.DateFromString.
Activity