Expand Tool Graph
toolhub_expandDiscover tool dependencies and related tools by querying the Knowledge Graph. Input a tool name to find its prerequisites, companions, and data flows.
Instructions
Expand a tool to find its dependencies via Knowledge Graph.
Given a tool name, traverse the Knowledge Graph to find related tools, requirements, and dependencies. Useful for understanding what other tools are needed to complete a task.
Args:
tool_name (string): Name of the tool to expand (e.g., 'n8n-workflow-builder')
depth (number): Traversal depth (default: 2, max: 4)
relation_types (string[]): Filter by relation types (optional)
response_format ('json' | 'markdown'): Output format
Relation types:
REQUIRES: Tool A requires Tool B to function
WORKS_WITH: Tools that commonly work together
EXECUTABLE_VIA: Tool can be executed via another tool
OUTPUTS_TO: Tool outputs data to another tool
BENEFITS_FROM: Tool benefits from using another tool
Returns: { "tool": "n8n-workflow-builder", "dependencies": [ { "name": "n8n-node-templates", "type": "Skill", "relation": "BENEFITS_FROM" } ], "totalCount": 4 }
Use this tool when you know a primary tool and need to find related tools.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | How many levels of relationships to traverse | |
| tool_name | Yes | Name of the tool to expand (e.g., 'n8n-workflow-builder') | |
| relation_types | No | Filter by relationship types (e.g., ['REQUIRES', 'WORKS_WITH']) | |
| response_format | No | Output format | json |