Context
PR #3966 removes outputSchema and structuredContent from the memory server tools to avoid current SDK serialization crashes when Zod schemas are exposed through tools/list.
That is the safest short-term fix, but it also means the memory server no longer demonstrates structured tool output for these tools.
Follow-up
Once the TypeScript SDK supports plain JSON Schema passthrough and validation for outputSchema, restore structured output for the memory server tools:
create_entities
create_relations
add_observations
delete_entities
delete_observations
delete_relations
read_graph
search_nodes
open_nodes
Suggested validation
- Add a regression test that
tools/list serializes cleanly with restored output schemas.
- Add or update tests that tool calls can return
structuredContent without _zod serialization or validation errors.
Context
PR #3966 removes
outputSchemaandstructuredContentfrom the memory server tools to avoid current SDK serialization crashes when Zod schemas are exposed throughtools/list.That is the safest short-term fix, but it also means the memory server no longer demonstrates structured tool output for these tools.
Follow-up
Once the TypeScript SDK supports plain JSON Schema passthrough and validation for
outputSchema, restore structured output for the memory server tools:create_entitiescreate_relationsadd_observationsdelete_entitiesdelete_observationsdelete_relationsread_graphsearch_nodesopen_nodesSuggested validation
tools/listserializes cleanly with restored output schemas.structuredContentwithout_zodserialization or validation errors.