Skip to content

feat: optionally execute query as read only role #40

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

Closed
wants to merge 1 commit into from

Conversation

sweatybridge
Copy link
Contributor

What kind of change does this PR introduce?

feature

What is the current behavior?

Schema changes are validated by querying the modified table. Currently it requires an additional confirmation prompt to run the execute_sql tool for validation. Since these queries are read-only, it should be safe to run them without confirmation.

What is the new behavior?

Support read_only flag in execute_sql tool, paving the way for removing confirmation prompt in the future.

Additional context

Add any other context or screenshots.

@sweatybridge sweatybridge requested a review from gregnr April 8, 2025 09:36
@sweatybridge
Copy link
Contributor Author

superseded by #47

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant