Modify a specific tool
Modify a specific tool.
The applicable update variant is inferred from the existing tool's own type, not from the request
body — the update schemas have no type field, so any type sent in the body is ignored.
Needs user bearer token in authorization header.
AuthorizationBearer <token>toolbox_id*stringA 24-character hexadecimal MongoDB ObjectId string.
^[0-9a-fA-F]{24}$tool_id*stringA 24-character hexadecimal MongoDB ObjectId string.
^[0-9a-fA-F]{24}$OpenAI-Organization?|Organization Id from OpenAi compatible endpoint. Required to organization access or project access (with OpenAI-Project header) when logged as User or Admin User.
OpenAI-Project?|Project Id from OpenAi compatible endpoint. Required to project access for organization api key or User / Admin User access with OpenAI-Organization
application/json- body
server_label?string|nullserver_url?string|nullallowed_tools?array<string>||nullheaders?|nullrequire_approval?|string|nullserver_description?string|null[key: string]?anySuccessful Response
application/json- response
Model for output of tool db.
id?|nulldefinition*|||||toolbox_id*stringA 24-character hexadecimal MongoDB ObjectId string.
^[0-9a-fA-F]{24}$created_at?integercurl -X POST 'https://deepfellow-server-host/toolboxes/5eb7cf5a86d9755df3a6c593/tools/5eb7cf5a86d9755df3a6c593' \ -H 'Content-Type: application/json' \ -d '{}'{ "id": "5eb7cf5a86d9755df3a6c593", "definition": { "type": "file_search", "vector_store_ids": [ "5eb7cf5a86d9755df3a6c593" ], "filters": { "filters": [ { "key": "string", "type": "eq", "value": "string" } ], "type": "and" }, "max_num_results": 25, "ranking_options": { "ranker": "auto", "score_threshold": 0 } }, "toolbox_id": "5eb7cf5a86d9755df3a6c593", "created_at": 0}We use cookies on our website. We use them to ensure proper functioning of the site and, if you agree, for purposes such as analytics, marketing, and targeting ads.