- Updated the builtinSearch function to delegate search operations to the websearch tool, improving modularity and maintainability. - Enhanced context handling by passing the agent context to builtinSearch, allowing for user and team identification during searches. - Added a new DecryptValue function in cloud.go to streamline value decryption, delegating to the existing config.DecryptValue method. - Updated .gitignore to include tools/README.md for better project organization.
18 lines
529 B
JSON
18 lines
529 B
JSON
{
|
|
"name": "websearch",
|
|
"description": "Search the web for real-time information. Returns structured results with title, URL, and content snippet.",
|
|
"process": "tools.websearch",
|
|
"inputSchema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"query": { "type": "string", "description": "Search query" },
|
|
"limit": {
|
|
"type": "integer",
|
|
"description": "Max results (default 10)",
|
|
"default": 10
|
|
}
|
|
},
|
|
"required": ["query"]
|
|
},
|
|
"x-process-args": ["$args.query", "$args.limit"]
|
|
}
|