---
title: "Comment by Kinjan Bhavsar on \"APEX AI Agent Logging with Request & Response Handlers\" | Hashnode"
description: "Thanks for this article. It helped me a lot. But, I have a query, when I use APEX_AI.GENERATE on button click, this works well but can I pass a custom param in"
url: "https://hashnode.com/posts/apex-ai-agent-logging-with-request-response-handlers/6a3d23e15b0654c803956c69/comment/6a4cb3ec22f585e27c048ced"
---

[Discussion](https://hashnode.com/posts/apex-ai-agent-logging-with-request-response-handlers/6a3d23e15b0654c803956c69)

Comment [APEX AI Agent Logging with Request & Response Handlers](https://hashnode.com/posts/apex-ai-agent-logging-with-request-response-handlers/6a3d23e15b0654c803956c69)

[Kinjan Bhavsar](https://hashnode.com/@kinjanbhavsar11)

[Jul 7](https://hashnode.com/posts/apex-ai-agent-logging-with-request-response-handlers/6a3d23e15b0654c803956c69/comment/6a4cb3ec22f585e27c048ced)

Thanks for this article. It helped me a lot.

But, I have a query, when I use APEX\_AI.GENERATE on button click, this works well but can I pass a custom param in that case for logging my internal tool call because in case of APEX\_AI.GENERATE, it doesn't add any tool or doesn't pass any extra custom param.
