Issue in displaying the fetched data from Google Sheets

I am trying to build a messaging bot for a restaurant using AI Agent and Google Sheets. We can see that in the Output section, there are multiple dishes in the inventory but in the chat section, only the information about the first dish is available. I need the AI to return information about all the dishes available. How can I fix this? I am not too professional at this so a detailed solution will be highly appreciated.

It looks like there may be a prompt limitation. The agent’s prompt might be preventing it from returning more than one dish. Could you share the prompt you are using?

Hey there. Thanks for the response. I have entered the following prompt in the System Message section of the AI agent:

”When a tool returns a list with multiple items or rows of data, you MUST process and consider every single item in the list. Do not summarize or mention only the first item. Read the entire list and use all available information to answer the user’s question.

When listing dishes, always include every dish from the list, each on a new line, with its name and description.”

Does this answer your question?

Try changing “Do not summarize or mention only the first item” to “Do not summarize anything and do not mention only the first item.” The original phrasing may be ambiguous for the AI.
Also, which AI model are you using?
When writing prompts, consider what the AI should do with the input. If it needs to call a tool and return the information, it is good practice to specify that explicitly.

I’m using Google Gemini Flash. Aldo I’m not sure how to add any other node to the tool of AI agent that could help in listing the information

still its the same issue