-
Notifications
You must be signed in to change notification settings - Fork 34
chore: add hints and update mcp #249
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
Changes from 9 commits
f1f1055
1e31d68
4477c4d
ea9a65e
bafd491
7041142
4bb9ddc
b8833e0
21c0fa3
f759cd3
7540bae
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -206,6 +206,9 @@ export function validateToolMetadata( | |
expectDefined(tool); | ||
expect(tool.description).toBe(description); | ||
|
||
expectDefined(tool.annotations); | ||
expect(tool.annotations.title).toBe(name); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. can we add a small test for the readOnlyHint and stuff too? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yep! added |
||
expect(tool.annotations.description).toBe(description); | ||
const toolParameters = getParameters(tool); | ||
expect(toolParameters).toHaveLength(parameters.length); | ||
expect(toolParameters).toIncludeAllMembers(parameters); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
flyby - user agents