Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
MCP Tools with Dependent Types | Better HN
MCP Tools with Dependent Types
(opens in new tab)
(vlaaad.github.io)
4 points
vlaaad
7mo ago
2 comments
Share
2 comments
default
newest
oldest
VivaTechnics
7mo ago
Good work! `type<T>` (generic types) can mimic dependent types for this?
vlaaad
OP
7mo ago
Not sure; the schema of the Props argument depends on the value — not type — of another argument, so it's not just generics.
j
/
k
navigate · click thread line to collapse