You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The spec says that clients should prompt for user confirmation on sensitive operations but I don't see a way to specify a way to label an operation as sensitive.
An example would be an SQL source where the client may Select to its heart's desire but should prompt for confirmation before initiating a Delete. This example would have two tools: select and delete. Delete would need a property with "sensitive". It would be good to then have an auxiliary function that translates the confirmation user prompt so it is "Do you want to delete all users?" instead of "Do you want to call the tool delete with 'DELETE FROM users'?"
Is there already a good possibility that I didn't spot or does someone have other ideas in this direction?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The spec says that clients should prompt for user confirmation on sensitive operations but I don't see a way to specify a way to label an operation as sensitive.
An example would be an SQL source where the client may Select to its heart's desire but should prompt for confirmation before initiating a Delete. This example would have two tools: select and delete. Delete would need a property with "sensitive". It would be good to then have an auxiliary function that translates the confirmation user prompt so it is "Do you want to delete all users?" instead of "Do you want to call the tool delete with 'DELETE FROM users'?"
Is there already a good possibility that I didn't spot or does someone have other ideas in this direction?
Beta Was this translation helpful? Give feedback.
All reactions