## Root Cause Analysis: Schema Mismatch in memory_get / memory_search Tool Registration
### Summary
The TypeBox schema rejection reported in #75244 is symptomatic of a broader architectural mismatch in the `memory-core` plugin. The root cause is **duplicate schema definitions** that use incompatible approaches, causing tool validation to fail silently and tools to be dropped from the agent's tool registry.
### The Problem
**Two conflicting schema definitions exist:**
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using NLog; | |
| using System; | |
| using System.Collections.Generic; | |
| using System.ComponentModel; | |
| using System.Diagnostics; | |
| using System.Linq; | |
| using System.Linq.Expressions; | |
| using System.Reflection; | |
| using System.Runtime.CompilerServices; | |
| using System.Threading; |