Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
MCP Tools with Dependent Types (vlaaad.github.io)
4 points by vlaaad 5 months ago | hide | past | favorite | 2 comments


Good work! `type<T>` (generic types) can mimic dependent types for this?


Not sure; the schema of the Props argument depends on the value — not type — of another argument, so it's not just generics.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: