Tools
update tool
Changed onUpdate an existing tool
put/v1/tools/{id}
Request
- Base URLhttps://api.anam.ai
- URLhttps://api.anam.ai/v1/tools/{id}
- AuthHTTP bearer
Path parameters
idstring uuid required
Tool ID
Request body
Example request
{
"name": "search_products",
"description": "Search the product catalog",
"config": {
"topK": 5,
"minScore": 0.5,
"maxContextTokens": 4000
}
}Response
Successfully updated tool
Example response
{
"id": "00000000-0000-0000-0000-000000000000",
"name": "search_knowledge_base",
"description": "Search the knowledge base for product information"
}Changes
- info
added the non-success response with the status
- info
- info
added the new optional request property
//
- info