forge_tree
Display the dependency tree of a Foundry project to reveal contract and library relationships and resolve build dependencies.
Instructions
Display the dependency tree of a Foundry project (forge tree).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectPath": "<projectPath>"
},
"name": "forge_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile | No | Foundry profile to use (maps to FOUNDRY_PROFILE env var) | |
| projectPath | Yes | Absolute path to the foundry project directory |