If you encounter the error A user error occurred while executing a tool call. during an agent chat session after adding a new knowledge, it could be that you have not given yoru Foundry Project a Search Data Index Reader role with your Foundry IQ resource. Once you assigned that role to your project, your existing session won’t encounter that error anymore with a new message.