Explicit error feedback on tool failure

Explicit error feedback on tool failure

1 vote

avatar

I just tested an AI prompt with a tool that I had access to, which obviously worked fine, I then restricted it to a role I didnt have and prompted 'run the hello world script and provide the output, on failure provide all possible exceptions, error messages and error properties' however the only response I ever get is 'Error: Function failed.'

I think it would be good, in the case of a failure due to authentication, such as a role, to have an explicit message so that the Agent can respond accordingly and report back to the user to indicate a lack of permissions or auth failure.

v2026.2.1

All Comments (1)

avatar

@insomniacc Thanks for the feedback. I've opened an issue in our backlog for this.

Adam Driscoll
PowerShell Expert and Developer at Devolutions