Commit 94670b3
fix: Add explicit type annotations to MCP tool parameters
Fixes #393
- Add TagType annotation to write_note.tags parameter
- Replace StringOrInt type alias with inline union type in build_context.depth
- Ensures MCP protocol compatibility with clients that require explicit types
MCP clients like qwen code were skipping these tools due to missing or
non-serializable type information in parameter schemas. All MCP tool
parameters must have explicit, JSON-serializable type annotations.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Paul Hernandez <phernandez@users.noreply.github.com>1 parent c7e6eab commit 94670b3
2 files changed
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | 19 | | |
22 | 20 | | |
23 | 21 | | |
| |||
39 | 37 | | |
40 | 38 | | |
41 | 39 | | |
42 | | - | |
| 40 | + | |
43 | 41 | | |
44 | 42 | | |
45 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
0 commit comments