forge_install
Installs Foundry project dependencies; use noGit mode to avoid git submodule errors.
Instructions
Install dependencies for a Foundry project (forge install). If git submodule errors occur, try with noGit=true.
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_install"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| noGit | No | Install without git submodules | |
| commit | No | Create a git commit after installing (default: false) | |
| projectPath | Yes | Absolute path to the foundry project directory | |
| dependencies | No | Dependencies to install, e.g. ['OpenZeppelin/openzeppelin-contracts'] |