Skip to content

Adopt tool annotations for title and readOnlyHint #215

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
digitarald opened this issue Apr 17, 2025 · 1 comment · Fixed by #351
Closed

Adopt tool annotations for title and readOnlyHint #215

digitarald opened this issue Apr 17, 2025 · 1 comment · Fixed by #351

Comments

@digitarald
Copy link
Contributor

Tool annotations provide hints about a tool’s nature and side effects, without affecting the model’s context or being relied upon for security decisions

VS Code landed support in Insiders:

  • title: A human-readable name for the tool, used by clients to label UI elements
  • readOnlyHint: Set to true if the tool truly has no side effects, enabling clients to prevent unintended state changes. VS Code will provide an option to auto-approve read-only tools, similar to how it treats low-risk, read-only internal tools.
@pavelfeldman
Copy link
Member

It is not in the SDK yet it seems

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 a pull request may close this issue.

2 participants