get_children_url_info
Retrieve child URL details from a parent URL to analyze website structure and identify subpages for 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:1325-1343 (handler)The handler function that implements the core logic of the get_children_url_info tool. It takes site_url and parent_url as inputs, makes an API request to Bing Webmaster Tools, and returns a list of child URL information.async def get_children_url_info( 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:1321-1324 (registration)The @mcp.tool decorator that registers the get_children_url_info tool with its name and description.@mcp.tool( name="get_children_url_info", description="Get information about child URLs under a parent URL.", )
- mcp_server_bwt/main.py:1326-1328 (schema)Input and output type annotations defining the schema for the tool, including parameter descriptions and return type.site_url: Annotated[str, "The URL of the site"], parent_url: Annotated[str, "The parent URL"], ) -> List[Dict[str, Any]]: