search_tools
Update Search Tool
Update an existing search tool.
Example Request:
curl -X PUT "http://localhost:4000/search_tools/123e4567-e89b-12d3-a456-426614174000" \
-H "Authorization: Bearer <your_api_key>" \
-H "Content-Type: application/json" \
-d '{
"search_tool": {
"search_tool_name": "updated-search",
"litellm_params": {
"search_provider": "perplexity",
"api_key": "sk-new-key"
},
"search_tool_info": {
"description": "Updated search tool"
}
}
}'
Example Response:
{
"search_tool_id": "123e4567-e89b-12d3-a456-426614174000",
"search_tool_name": "updated-search",
"litellm_params": {
"search_provider": "perplexity",
"api_key": "sk-new-key"
},
"search_tool_info": {
"description": "Updated search tool"
},
"created_at": "2023-11-09T12:34:56.789Z",
"updated_at": "2023-11-09T13:45:12.345Z"
}
put/search_tools/{search_tool_id}
Path parameters
search_tool_idstring required
Request body
Response
Successful Response
{"stackTrail":"paths:/search_tools/{search_tool_id}:put:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}
Changes
Changed in 2 of the 42 revisions of this API.6
- ○
api tag
search_toolsaddedapi-tag-added
- ○
api tag
Search Toolsremovedapi-tag-removed
- ○
- ○
api tag
Search Toolsaddedapi-tag-added
- ○
api tag
search_toolsremovedapi-tag-removed
- ○
added the optional property
//to the response with the statusresponse-optional-property-added
- ○
added the optional property
//to the response with the statusresponse-optional-property-added
This revision also has 5 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○