You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Aas I recently setup anthropic's claude opus model in my server,
I realized I want to use the web search tool provided natively by their API. I don't have to setup search API in Librechat for this. As shown in the docs
curl https://api.anthropic.com/v1/messages \
--header "x-api-key: $ANTHROPIC_API_KEY" \
--header "anthropic-version: 2023-06-01" \
--header "content-type: application/json" \
--data '{
"model": "claude-opus-4-6",
"max_tokens": 4096,
"messages": [
{
"role": "user",
"content": "Search for the current prices of AAPL and GOOGL, then calculate which has a better P/E ratio."
}
],
"tools": [{
"type": "web_search_20260209",
"name": "web_search"
}]
}'
So I was wondering if there is a way i can setup this option in the http request?
It would be cool if there is a way i can add arbitrary additional attribute to the message sent to the AI server in general.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Thank you for the great tool as always.
Aas I recently setup anthropic's claude opus model in my server,
I realized I want to use the web search tool provided natively by their API. I don't have to setup search API in Librechat for this. As shown in the docs
So I was wondering if there is a way i can setup this option in the http request?
It would be cool if there is a way i can add arbitrary additional attribute to the message sent to the AI server in general.
Beta Was this translation helpful? Give feedback.
All reactions