UNPKG

@deep-assistant/agent

Version:

A minimal, public domain AI CLI agent compatible with OpenCode's JSON interface. Bun-only runtime.

15 lines (13 loc) 848 B
- Fetches content from a specified URL - Takes a URL and a prompt as input - Fetches the URL content, converts HTML to markdown - Returns the model's response about the content - Use this tool when you need to retrieve and analyze web content Usage notes: - IMPORTANT: if another tool is present that offers better web fetching capabilities, is more targeted to the task, or has fewer restrictions, prefer using that tool instead of this one. - The URL must be a fully-formed valid URL - HTTP URLs will be automatically upgraded to HTTPS - The prompt should describe what information you want to extract from the page - This tool is read-only and does not modify any files - Results may be summarized if the content is very large - Includes a self-cleaning 15-minute cache for faster responses when repeatedly accessing the same URL