- 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.
19 lines
571 B
JSON
19 lines
571 B
JSON
{
|
|
"name": "webfetch",
|
|
"description": "Fetch a web page and return its content. Supports markdown and HTML output formats.",
|
|
"process": "tools.webfetch",
|
|
"inputSchema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"url": { "type": "string", "description": "URL to fetch" },
|
|
"format": {
|
|
"type": "string",
|
|
"description": "Output format: markdown or html (default markdown)",
|
|
"enum": ["markdown", "html"],
|
|
"default": "markdown"
|
|
}
|
|
},
|
|
"required": ["url"]
|
|
},
|
|
"x-process-args": ["$args.url", "$args.format"]
|
|
}
|