-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Milestone
Description
User Story
As a user, I want to see the tool parameters in the approval dialog so that I can make informed decisions about whether to allow a tool to execute with specific parameters.
Current Problem
When the AI wants to use a tool (like file system operations, web requests, calculations, etc.), I'm presented with an approval dialog that only shows:
- The tool name
- A generic message asking for permission
This lacks crucial information about what exactly the tool will do, making it difficult to:
- Understand the scope of the operation
- Verify the parameters are correct
- Make informed security decisions
- Trust the AI's intended actions
Example Scenario
Currently when the AI wants to use a file operation tool, I see:
The AI wants to use: file_system_tool
Do you approve?
[Allow] [Deny]
But I can't see:
- Which file will be accessed?
- What operation (read/write/delete)?
- What data will be written?
- What directory it's targeting?
Expected Behavior
I want the approval dialog to display:
Tool Information
- Tool Name: Clear identification of which tool
- Tool Parameters: All parameters being passed to the tool
- Operation Summary: Brief description of what will happen
Example Improved Dialog
Tool Approval Request
Tool: File System Tool
Operation: Write file
Parameters:
- Path: /Users/john/documents/report.txt
- Content: "Meeting notes from today..."
- Mode: Create new file
This tool will create a new file with the specified content.
[Show Details] [Allow] [Deny]