remove_blocked_url
Remove URLs from Bing Webmaster Tools' blocked list to restore search engine indexing for specific web pages.
Instructions
Remove a URL from the blocked list.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_url | Yes | ||
| url | Yes |
Implementation Reference
- mcp_server_bwt/main.py:548-567 (handler)The handler function for the 'remove_blocked_url' tool. It uses type annotations for input schema (site_url and url parameters) and the @mcp.tool decorator for registration. The logic sends a POST request to the 'RemoveBlockedUrl' API endpoint via the api object.@mcp.tool(name="remove_blocked_url", description="Remove a URL from the blocked list.") async def remove_blocked_url( site_url: Annotated[str, "The URL of the site"], url: Annotated[str, "The blocked URL to remove"], ) -> Dict[str, str]: """ Remove a URL from the blocked list. Args: site_url: The URL of the site url: The blocked URL to remove Returns: Success message """ async with api: await api._make_request( "RemoveBlockedUrl", "POST", {"siteUrl": site_url, "blockedUrl": url} ) return {"message": f"URL {url} unblocked successfully"}