icp_preflight_check
Run preflight checks before deploying to a canister. Validates controller status, cycles, existing code, and deployment mode safety to prevent failures.
Instructions
Run comprehensive preflight checks before deploying to a canister. Validates controller status, cycles, existing code, and deployment mode safety.
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": {
"canister_id": "<canister_id>"
},
"name": "icp_preflight_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Intended deployment mode | upgrade |
| wasm_path | No | Path to WASM file to validate | |
| canister_id | Yes | The canister ID to check |