I am building an AI agent, but I’m stuck on this question.
One of the agent’s functions is to process inputs such as “P000, 1/30, 200”. The agent will extract the Code, Month, and Paid Amount, then write the Paid Amount into Google Sheets with use tool only.
My Google Sheet like below
- Code is used to match the row.
- Month is used as the column header.
- I’m using Map Automatically because there’s no way to specify a variable column in the Google Sheets tool.
Currently, I can update the cell, but the rest of the row gets overwritten with empty values. Is there a solution that allows the AI agent to update only the specific cell with use tool only, without affecting the other data in the same row?
