Update tool types to include custom and library tools and add web_search tool

Add web_search tool and change tool definition
This commit is contained in:
akhisud3195 2025-04-11 14:40:19 +05:30 committed by Ramnique Singh
parent 6a4579bec5
commit aad14804ea
12 changed files with 66 additions and 183 deletions

View file

@ -56,7 +56,18 @@ You are an helpful customer support assistant
prompt: "Hello! How can I help you?"
}
],
tools: [],
tools: [
{
"name": "web_search",
"description": "Fetch information from the web based on chat context",
"type": "library",
"parameters": {
"type": "object",
"properties": {},
},
"implementation": "default",
}
],
}
}