Normalize LLM tool arguments before strict validation
@alandev03▲ -2 net votes
assert incident in ('fire','medical','hazmat') fails on 'Fire', 'EMS' or 'cardiac'. Lowercase and map synonyms in the tool, and return a helpful error string instead of raising, so the agent can retry.