Skip to content

feat: add YNAB_READ_ONLY mode that hides mutating tools - #20

Open
philgetzen wants to merge 1 commit into
pragprogrammer:mainfrom
philgetzen:add-read-only-mode
Open

feat: add YNAB_READ_ONLY mode that hides mutating tools#20
philgetzen wants to merge 1 commit into
pragprogrammer:mainfrom
philgetzen:add-read-only-mode

Conversation

@philgetzen

Copy link
Copy Markdown

With YNAB_READ_ONLY=true, write_tool() skips registration for all 16 create/update/delete/import tools, so clients only see read and analytics tools. Guards against prompt-injection-driven mutations from untrusted text (payee names, memos) reaching a model that also holds write access.

With YNAB_READ_ONLY=true, write_tool() skips registration for all 16
create/update/delete/import tools, so clients only see read and
analytics tools. Guards against prompt-injection-driven mutations from
untrusted text (payee names, memos) reaching a model that also holds
write access.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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