portia.open_source_tools.map_tool
Tool to map websites.
MapToolSchema Objects
class MapToolSchema(BaseModel)
Input for MapTool.
MapTool Objects
class MapTool(Tool[str])
Maps websites using Tavily's graph-based traversal to generate comprehensive site maps.
run
def run(_: ToolRunContext,
url: str,
max_depth: int = 1,
max_breadth: int = 20,
limit: int = 50,
instructions: str | None = None,
**kwargs: Any) -> str
Run the map tool.