UiPath Agent with an InvoiceExtraction tool that requires an attachment (UUID). When no file is provided, the agent still calls the tool and throws a UUID validation error. How can I make the attachment optional or conditionally skip the tool when no file is present?
nafi.iqbal
(Nafi Iqbal)
1
ashokkarale
(Ashok Karale)
2
You will have to specify it in the System prompt clearly when to use tool and when not to.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| UiPath AI Agent | 6 | 104 | November 12, 2025 | |
| UiPath LangChain Agent | Integrate with our UiPath Process workflows | 3 | 301 | May 8, 2025 | |
| ✅ UiPath RPA Extracting data from Invoices with GPT Vision Generative AI from OpenAI | 0 | 64 | October 17, 2024 | |
| Bot in Uipath Asistant so long | 8 | 755 | March 19, 2024 | |
| Coded Agent | MCP Server | Conversational AI Agent | UiPath Apps | Image Automation Tool Kit | 0 | 23 | January 7, 2026 |