init
Scaffold a new Foundry project with default zkSync profile configuration, including optional Git initialization and custom templates.
Instructions
Scaffold a new foundry project and add [profile.default.zksync] config (forge init)
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": "init"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | Absolute path where the new project should be created | |
| name | No | Project name (used as directory name if projectPath is the parent) | |
| noGit | No | If true, skip git initialization (--no-git) | |
| noCommit | No | If true, skip the initial git commit (--no-commit) | |
| template | No | GitHub template to use, e.g. 'PaulRBerg/foundry-template' |