get_children_url_info
Extract child URL data from a parent URL to analyze website structure and improve SEO performance using Bing Webmaster Tools.
Instructions
Get information about child URLs under a parent URL.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_url | Yes | ||
| parent_url | Yes |
Implementation Reference
- mcp_server_bwt/main.py:1326-1344 (handler)The main handler function for the 'get_children_url_info' tool. It takes site_url and parent_url, makes an API request to the 'GetChildrenUrlInfo' endpoint, and returns typed child URL information.site_url: Annotated[str, "The URL of the site"], parent_url: Annotated[str, "The parent URL"], ) -> List[Dict[str, Any]]: """ Get information about child URLs under a parent URL. Args: site_url: The URL of the site parent_url: The parent URL Returns: List of child URL information """ async with api: children = await api._make_request( f"GetChildrenUrlInfo?siteUrl={site_url}&parentUrl={parent_url}" ) return api._ensure_type_field(children, "ChildUrlInfo")
- mcp_server_bwt/main.py:1322-1325 (registration)The @mcp.tool decorator that registers the 'get_children_url_info' tool with the MCP server, specifying its name and description.name="get_children_url_info", description="Get information about child URLs under a parent URL.", ) async def get_children_url_info(