The "enum" type in Python lets you create variables constrained to a predefined range of values. Learn how this built-in Python type can be used to express the state of something, whether as a string, ...
It seems that if a tool has an argument annotated by a string Enum, the input value needs to be quoted. This results in problems when using client such as Claude Desktop, which will never quote the ...
I am not sure if there is an intentional restriction around this but I believe we should allow enums as part of an input_schema when using an agent as a tool. Here is an example that doesn't work: ...