It seems that we can't pass enums as arguments to function tools, since it will throw error as below As a follow up for #398 This is the code <img width="287" height="324" alt="Image" src="https://github.com/user-attachments/assets/84aefe60-dd14-4aa0-a794-8456cf2fe7c3" /> This is the error <img width="1591" height="120" alt="Image" src="https://github.com/user-attachments/assets/9eaf4865-2434-4a8e-9313-769990d995de" /> I also made the fix as a PR #3088