icp_deploy_frontend
Deploy static frontend files to an Internet Computer asset canister by providing the canister ID and source directory, making your web app live.
Instructions
Deploy static frontend files to an asset canister.
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>",
"source_dir": "<source_dir>"
},
"name": "icp_deploy_frontend"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_dir | Yes | Path to the directory containing files to upload | |
| canister_id | Yes | The asset canister Principal ID |