remove_feed
Remove a feed from Bing Webmaster Tools by specifying the site URL and feed URL to manage your site's content indexing.
Instructions
Remove a feed from Bing Webmaster Tools.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_url | Yes | ||
| feed_url | Yes |
Implementation Reference
- mcp_server_bwt/main.py:1401-1401 (registration)Registers the 'remove_feed' tool with the MCP framework, specifying its name and description.@mcp.tool(name="remove_feed", description="Remove a feed from Bing Webmaster Tools.")
- mcp_server_bwt/main.py:1402-1420 (handler)The main handler function for the 'remove_feed' tool. It takes site_url and feed_url as inputs, makes a POST request to the Bing Webmaster Tools 'RemoveFeed' API endpoint, and returns a success message.async def remove_feed( site_url: Annotated[str, "The URL of the site"], feed_url: Annotated[str, "The URL of the feed to remove"], ) -> Dict[str, str]: """ Remove a feed from Bing Webmaster Tools. Args: site_url: The URL of the site feed_url: The URL of the feed to remove Returns: Success message """ async with api: await api._make_request( "RemoveFeed", "POST", {"siteUrl": site_url, "feedUrl": feed_url} ) return {"message": f"Feed {feed_url} removed successfully"}
- mcp_server_bwt/main.py:1403-1405 (schema)Input schema defined using Annotated types for site_url (str) and feed_url (str), with descriptions, and output as Dict[str, str].site_url: Annotated[str, "The URL of the site"], feed_url: Annotated[str, "The URL of the feed to remove"], ) -> Dict[str, str]:
- mcp_server_bwt/main.py:1417-1419 (helper)Helper call to the internal API client method to perform the actual RemoveFeed POST request.await api._make_request( "RemoveFeed", "POST", {"siteUrl": site_url, "feedUrl": feed_url} )