Uipath Agent

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

You will have to specify it in the System prompt clearly when to use tool and when not to.