add_connected_page
Submit pages linking to your website to Bing Webmaster Tools for improved search visibility and backlink tracking.
Instructions
Add a page that has a link to your website.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_url | Yes | ||
| connected_url | Yes |
Implementation Reference
- mcp_server_bwt/main.py:728-749 (handler)The main handler function implementing the tool logic by making a POST request to Bing's AddConnectedPage API endpoint.async def add_connected_page( site_url: Annotated[str, "The URL of your site"], connected_url: Annotated[str, "The URL of the page linking to your site"], ) -> Dict[str, str]: """ Add a page that has a link to your website. Args: site_url: The URL of your site connected_url: The URL of the page linking to your site Returns: Success message """ async with api: await api._make_request( "AddConnectedPage", "POST", {"siteUrl": site_url, "connectedPageUrl": connected_url}, ) return {"message": f"Connected page {connected_url} added successfully"}
- mcp_server_bwt/main.py:725-727 (registration)Registers the add_connected_page tool with the FastMCP server using the @mcp.tool decorator, specifying name and description.@mcp.tool( name="add_connected_page", description="Add a page that has a link to your website." )