Skip to content

Comment on MCP Tools with Dependent Types

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.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.