get_install_package
Read-only. Get the verifiable install package for a build chosen by the user — use this FIRST when installing, before get_install. It returns the signed Phase 1 consent manifest (Ed25519 signature, file list with SHA-256 hashes, permissions, pinned commit), plus a server-side diff from the version already installed (pass installed_bundle_hash) and a counted summary of facts. Verify before installing: recompute the bundle hash from files, verify the Ed25519 signature with the published key, then verify at least one downloaded file hash. If any check fails, stop and report — do not install. This package does not include the install prompt itself: after verification, call get_install to get the prompt. If no package exists for a build, fall back to get_install. Never present installation as automatic.
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": {
"slug": "<slug>"
},
"name": "get_install_package"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | 'en' or 'fr' (default 'en'; the package itself is language-independent) | |
| slug | Yes | The build slug, from search_builds results | |
| installed_bundle_hash | No | Bundle hash of the version already installed (optional). When given, the package includes the server-side diff from that version; when absent, diff is null and requires_reconsent is true (first installation). |