get_deep_link_blocks
Retrieve blocked deep links for a website from Bing Webmaster Tools to identify and resolve indexing issues.
Instructions
Get list of blocked deep links.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_url | Yes |
Implementation Reference
- mcp_server_bwt/main.py:752-768 (handler)The main handler function for the 'get_deep_link_blocks' tool. It is decorated with @mcp.tool which also serves as the registration. It makes an API request to Bing Webmaster Tools to fetch blocked deep links for the given site and ensures type compatibility.@mcp.tool(name="get_deep_link_blocks", description="Get list of blocked deep links.") async def get_deep_link_blocks( site_url: Annotated[str, "The URL of the site"] ) -> List[Dict[str, Any]]: """ Get list of blocked deep links. Args: site_url: The URL of the site Returns: List of blocked deep links """ async with api: blocks = await api._make_request(f"GetDeepLinkBlocks?siteUrl={site_url}") return api._ensure_type_field(blocks, "DeepLinkBlock")