gemini-cli icon indicating copy to clipboard operation
gemini-cli copied to clipboard

Allow expanding MCP call arguments during confirmation

Open janEbert opened this issue 2 months ago • 3 comments

What would you like to be added?

The ability to expand (and afterwards unexpand) MCP call arguments when asked to confirm an MCP tool call, e.g., using CTRL+s.

Why is this needed?

I'd like to be able to properly review MCP queries that I have to allow. However, this is not possible because of truncation of the input JSON.

Additional context

I've tried to use CTRL+s to achieve expansion, but it seems this functionality does not exist for MCP tool call confirmation.

janEbert avatar Oct 13 '25 16:10 janEbert

This is a great suggestion. I've found myself wanting the same thing in some of the MCP tools that I've been working on as well.

allenhutchison avatar Oct 13 '25 18:10 allenhutchison

+1. I would like to be able to see the entire tool input before allowing the tool execution.

averikitsch avatar Oct 13 '25 19:10 averikitsch

Example screen shot:

Image

Really hard to validate that the tool is going to do what you want BEFORE it runs if you can't see the full content of the arguments. In a lot of cases the tools you're running can be modifying legitimate data and going YOLO on things isn't the greatest idea.

Along with just pinging a +1 since the github bots like to close things that haven't had activity in a while.

ETG-msimons avatar Dec 12 '25 16:12 ETG-msimons