fix(webfetch): make format parameter optional with markdown default (#6345)

Co-authored-by: Somair Ansar <somairansar@Somairs-MacBook-Air.local>
This commit is contained in:
samcornor
2025-12-29 21:53:12 +00:00
committed by GitHub
parent c3d8672753
commit fd973d242e
2 changed files with 6 additions and 5 deletions

View File

@@ -1,13 +1,13 @@
- 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
- Takes a URL and optional format as input
- Fetches the URL content, converts to requested format (markdown by default)
- Returns the content in the specified format
- 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
- Format options: "markdown" (default), "text", or "html"
- This tool is read-only and does not modify any files
- Results may be summarized if the content is very large