Asked about How tool calling works

Why use an enum in a parameter schema?

An answer that works

It constrains the argument to valid values at generation time, so an invalid status or category cannot be produced. It also removes a whole class of validation code from your handler.

Reading an answer is not being able to give one. The section that teaches this is How tool calling works, 3 hours of Tool calling.

Learn this properly