icp_add_canister_to_project
Add a new canister (Motoko, Rust, or assets) to an existing dfx.json project by specifying project path, canister name, and type. Use this to extend your ICP project with additional canisters.
Instructions
Add a new canister to an existing dfx.json project.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| main | No | Main file path (for Motoko/Rust) | |
| source | No | Source directories (for assets) | |
| project_path | Yes | Path to the dfx project | |
| canister_name | Yes | Name of the new canister | |
| canister_type | Yes | Type of canister |