Skip to main content
Glama

edict_run

Execute WebAssembly modules in a secure sandbox with controlled access to filesystem, network, and crypto via host adapters. Supports execution limits and deterministic replay.

Instructions

Execute a compiled WebAssembly module (provided as base64) in a sandboxed runtime. The WASM VM has no ambient authority — filesystem, network, and crypto access are provided exclusively through host adapters. Returns standard output, exit code, and any sandbox limit errors. Supports optional execution limits (timeout, memory, sandbox directory) and external WASM modules for import interop. Set record: true to capture all non-deterministic host responses in a replay token for deterministic reproduction.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
wasmBase64YesThe base64 encoded WebAssembly module to execute
limitsNoOptional execution sandbox limits
externalModulesNoExternal WASM modules keyed by import namespace (base64-encoded). Edict programs can import functions from these modules.
recordNoWhen true, capture all non-deterministic host responses (random, time, IO, HTTP) in a replay token. The token is included in the response and can be passed to edict_replay for exact reproduction.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Sowiedu/Edict'

If you have feedback or need assistance with the MCP directory API, please join our Discord server