remove_deep_link_block
Remove deep link blocks from your Bing Webmaster Tools configuration to restore crawling and indexing of specific URL patterns.
Instructions
Remove a deep link block.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_url | Yes | ||
| url_pattern | Yes |
Implementation Reference
- mcp_server_bwt/main.py:1100-1121 (handler)The handler function decorated with @mcp.tool, which registers the tool, defines input schema via annotations, and implements the logic by calling the Bing API to remove a deep link block.@mcp.tool(name="remove_deep_link_block", description="Remove a deep link block.") async def remove_deep_link_block( site_url: Annotated[str, "The URL of the site"], url_pattern: Annotated[str, "URL pattern to unblock"], ) -> Dict[str, str]: """ Remove a deep link block. Args: site_url: The URL of the site url_pattern: URL pattern to unblock Returns: Success message """ async with api: await api._make_request( "RemoveDeepLinkBlock", "POST", {"siteUrl": site_url, "urlPattern": url_pattern}, ) return {"message": f"Deep link block for {url_pattern} removed successfully"}
- mcp_server_bwt/main.py:1100-1100 (registration)The @mcp.tool decorator registers the 'remove_deep_link_block' tool with MCP.@mcp.tool(name="remove_deep_link_block", description="Remove a deep link block.")
- mcp_server_bwt/main.py:1101-1104 (schema)Input schema defined by type annotations for site_url (str) and url_pattern (str), output Dict[str, str].async def remove_deep_link_block( site_url: Annotated[str, "The URL of the site"], url_pattern: Annotated[str, "URL pattern to unblock"], ) -> Dict[str, str]: