Files
picoclaw/pkg/tools
yuchou87 02c1792015 fix(tools): preserve MCP tool InputSchema via JSON marshal/unmarshal
- Handle json.RawMessage and []byte types by direct unmarshal
- Use JSON marshal/unmarshal for struct types to preserve schema
- Add test case for json.RawMessage schema
- Fixes issue where non-map schemas returned empty object

This fixes GitHub Copilot feedback that Parameters() was dropping
tool schema when InputSchema wasn't already map[string]interface{}
2026-02-16 19:50:00 +08:00
..
2026-02-13 17:51:47 +08:00
2026-02-13 17:51:47 +08:00
2026-02-13 17:51:47 +08:00
2026-02-09 19:20:19 +08:00
2026-02-14 16:24:20 +08:00