How strict should tool schemas be? Enums prevent chaos but freeze every new value

Ctbhatia · reddit · 2026-10-15

A short but classic agent-tool design question: type a status arg as a plain string and you'll eventually get "in progress", "In Progress" and "wip" for the same thing — and the tool just takes it. An enum fixes that, but every new status becomes a schema change. The author asks: enums everywhere, or only after a field has already bitten you?

Original post →

More from coding & agent

coding & agent channel →