stellar_contract_init
Initialize a Soroban contract project at a given path, with optional contract naming and overwrite support.
Instructions
Initialize a new Soroban contract project
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": {
"project_path": "<project_path>"
},
"name": "stellar_contract_init"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name of the contract (default: hello-world) | |
| overwrite | No | Overwrite existing files if they exist | |
| project_path | Yes | Path where the project will be created |