edict_package
Package compiled Edict modules with WASM binaries into portable SkillPackages containing interface metadata, verification info, and integrity checks.
Instructions
Package a compiled Edict module + WASM binary into a portable SkillPackage. Input: the module AST (same one sent to edict_compile) + the base64 WASM string returned by edict_compile. Output: a SkillPackage JSON with interface metadata, verification info, integrity checksum, and the embedded WASM.
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": {
"ast": "<ast>",
"wasm": "<wasm>"
},
"name": "edict_package"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ast | Yes | The Edict module AST (the same JSON sent to edict_compile) | |
| wasm | Yes | Base64-encoded WASM binary (from edict_compile result) | |
| metadata | No | Optional metadata to embed in the skill package |