Have the agent execute the execute_sql tool call with any sufficiently long query that would overflow one line. Notice that anything that overflows off one line is truncated with an ellipsis.
First, expand the tool call execution to inspect the details. Then, attempt to expand the sql selection there, but you’ll notice the “Copy” button overlaps it, making it unreachable.
Expected Behavior
I would expect to be able to both expand the SQL to be executed, as well as copy the output, with the buttons not overlapping/interfering with each other.
Hey, thanks for the detailed report and the screenshot. The steps to reproduce are really clear.
This is a known UI bug where the Copy button overlaps the expand chevron on MCP tool call results, so you can’t click the expand button. The team is aware of it. There’s no ETA yet, but your report helps us prioritize it.
In the chat panel, when an AI tool call is made to an MCP server, the tool call input (showing the arguments/query sent to the tool) has a copy button that overlaps or covers the expand/collapse arrow. This makes it impossible to expand the input to read the full query.
Steps to Reproduce
Have an MCP server configured and active
Trigger any MCP tool call from the AI (e.g. a BigQuery execute_sql with a multi-line SQL query)
In the chat panel, locate the collapsed tool call input block
Attempt to click the expand/collapse arrow to read the full query
The copy button intercepts the click — the input block cannot be expanded
Expected Behavior
Expected behaviour The expand/collapse arrow on MCP tool call inputs should be independently clickable and clearly separated from the copy button.
Actual behaviour The copy button sits on top of the expand/collapse arrow. The input block cannot be expanded to view the full query.
Screenshots / Screen Recordings
Operating System
Windows 10/11
Version Information
Environment
OS: Windows 10 (Build 26200)
Shell: PowerShell
Cursor version: 2.6.18
I see a fix did land in this area—glad it’s fixed! The fix is clicking the sql button to the left of the query to expand and view the full SQL.
Only thing I’ll mention @Colin is that it’s not obvious from a UI standpoint that clicking the sql button is how to expand things (took me several minutes to figure that out). I’d definitely recommend to the UI team to make some sort of change to make it more obvious from a UI standpoint (carrot icon, clicking the SQL text itself, etc.) so that users know where to find it, since it’s pretty essential for reviewing generated SQL.
Also, it wouldn’t be a bad idea if the generated SQL could include formatting and syntax highlighting and be in a monospace font for easier review (edit: it looks like sometimes formatting is already included, but not always (at the agent’s discretion)). That’d be outstanding for perfecting this feature.