get_connected_pages
Retrieve pages linking to your website to analyze backlinks and monitor site connections using Bing Webmaster Tools data.
Instructions
Get list of connected pages that link to your site.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_url | Yes |
Implementation Reference
- mcp_server_bwt/main.py:1304-1318 (handler)The main handler function for the 'get_connected_pages' tool. It takes a site_url, makes an API request to 'GetConnectedPages', and returns the processed response.site_url: Annotated[str, "The URL of the site"] ) -> List[Dict[str, Any]]: """ Get list of connected pages that link to your site. Args: site_url: The URL of the site Returns: List of connected pages """ async with api: pages = await api._make_request(f"GetConnectedPages?siteUrl={site_url}") return api._ensure_type_field(pages, "ConnectedPage")
- mcp_server_bwt/main.py:1300-1303 (registration)The @mcp.tool decorator that registers the 'get_connected_pages' tool with MCP, specifying its name and description.name="get_connected_pages", description="Get list of connected pages that link to your site.", ) async def get_connected_pages(