Skip to content

Add concept of destructive tools and "dry run" mode #23

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

anyoung-tableau
Copy link
Collaborator

No description provided.

Copy link

Code Coverage

Package Line Rate Branch Rate Health
src 92% 93%
src.logging 95% 92%
src.tools 79% 96%
src.tools.queryDatasource 100% 100%
src.utils 100% 100%
Summary 90% (701 / 777) 94% (138 / 147)

export type DestructiveToolParams<Args extends ZodRawShape | undefined = undefined> =
ToolParams<Args> & {
annotations: ToolAnnotations & {
destructive?: true;
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be destructiveHint

@anyoung-tableau anyoung-tableau added the idea Ideas for improvements label Jun 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
idea Ideas for improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant