Support claude web search tool#467
Merged
adamw merged 6 commits intoMay 7, 2026
Merged
Conversation
…, it's a beta feature
…lation for scala 3
adamw
reviewed
May 7, 2026
| messages = List(Message.user(List(ContentBlock.text("What was the most recent SpaceX launch?")))), | ||
| maxTokens = 1024, | ||
| tools = List( | ||
| Tool.WebSearch( |
Member
There was a problem hiding this comment.
can we have a Tool.WebSearch.default? With the minimum configuration required from the user to create a web search tool?
Contributor
Author
There was a problem hiding this comment.
Yes, let's do that
adamw
approved these changes
May 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
DONE:
Toolmodel migrated to trait to support predefined onesContentBlockmodel updated to support outputs of web search toolWhy only web search tool?
Web fetch tool would be nice to integrate too at some point, but currently it's in beta.
I am not convinced about integrating other, more interactive tools like code execution, bash, or computer use tools to
sttp-ai, maybe they could serve some use in script like scala programs... still, let's start with the most obvious one.