get_fetched_urls
Retrieve a list of URLs that Bing Webmaster Tools has fetched for your website to monitor indexing status and crawl activity.
Instructions
Get list of URLs that have been fetched.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_url | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |
Implementation Reference
- mcp_server_bwt/main.py:1253-1255 (registration)Registration of the 'get_fetched_urls' tool using the @mcp.tool decorator, specifying name and description.
@mcp.tool( name="get_fetched_urls", description="Get list of URLs that have been fetched." ) - mcp_server_bwt/main.py:1256-1271 (handler)The handler function implementing the tool logic: takes site_url, makes an API request to retrieve fetched URLs, ensures type field, and returns the list.
async def get_fetched_urls( site_url: Annotated[str, "The URL of the site"] ) -> List[Dict[str, Any]]: """ Get list of URLs that have been fetched. Args: site_url: The URL of the site Returns: List of fetched URLs """ async with api: urls = await api._make_request(f"GetFetchedUrls?siteUrl={site_url}") return api._ensure_type_field(urls, "FetchedUrl") - mcp_server_bwt/main.py:1256-1258 (schema)Input schema (site_url: str) and output schema (List[Dict[str, Any]]) defined in function signature using Annotated types.
async def get_fetched_urls( site_url: Annotated[str, "The URL of the site"] ) -> List[Dict[str, Any]]: