You need to enable JavaScript to run this app.
Readit News
Posted by
u/vlaaad
15 days ago
MCP Tools with Dependent Types
vlaaad.github.io/mcp-tool...
VivaTechnics
·
15 days ago
Good work! `type<T>` (generic types) can mimic dependent types for this?
vlaaad
·
15 days ago
Not sure; the schema of the Props argument depends on the value — not type — of another argument, so it's not just generics.