install
Install dependencies for a Foundry project on zkSync by specifying packages like OpenZeppelin or updating from foundry.toml, with optional no-commit flag.
Instructions
Install dependencies for a foundry project (forge install)
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": "install"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | Absolute path to the foundry project directory | |
| dependencies | No | Dependencies to install, e.g. ['OpenZeppelin/openzeppelin-contracts', 'transmissions11/solmate']. If omitted, installs all existing dependencies from foundry.toml. | |
| noCommit | No | If true, passes --no-commit to skip creating a git commit for the install |