← sources

how strict do you make your tool schemas?

source: reddit (reddit:AI_Agents)published 2026-10-14 17:34ingested 2026-10-15 02:37

retained text

a `status` arg typed as a plain string will eventually get "in progress", "In Progress" and "wip" for the same thing, and the tool just takes it

an enum fixes that, but then every new status is a schema change

do you go enums everywhere, or only after a field has already bitten you?

document fetched 2026-10-15 00:19 · canonical https://reddit.com/r/AI_Agents/comments/1x5xlm0/how_strict_do_you_make_your_tool_schemas