icp_build_motoko_canister
Compile a Motoko canister project to WebAssembly with dfx, producing deployable artifacts for the Internet Computer.
Instructions
Compile a Motoko canister project to WASM using dfx. Requires dfx installed.
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": "icp_build_motoko_canister"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes | Path to the Motoko project (containing dfx.json) | |
| canister_name | No | Name of canister to build (default: auto-detect) |