icp_create_project
Create a new Internet Computer canister project in Rust or Motoko, choosing frontend for HTTP-serving or backend for stateful APIs.
Instructions
Create a new ICP canister project. Supports Rust (systems programming) or Motoko (ICP-native, easier syntax). Choose "frontend" for HTTP-serving or "backend" for stateful API.
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_name": "<project_name>",
"project_type": "<project_type>"
},
"name": "icp_create_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | No | Programming language: "motoko" (recommended) or "rust" | motoko |
| base_path | No | Base directory (default: current directory) | |
| project_name | Yes | Name of the project (will be used as folder name) | |
| project_type | Yes | Type of canister: "frontend" (serves HTML) or "backend" (API with state) |