Could someone please help me?
I am calling a tool via an agent. This tool sends JSON to GAS and returns the spreadsheet content as JSON, and another tool returns JSON obtained from Dify’s response back to GAS. In the debugging environment, the tool is called successfully, but when executed in the app, it returns “used,” and it seems to go to GAS and return an error. I have shared permissions on the GAS side with everyone, and of course, the URL is correct. Even after publishing both the tool and the agent, executing the agent in the app still returns “used.” I no longer know what the issue might be. Could anyone please help me?