Inspect Wasm Artifact
inspect_wasm_artifactValidates a local WASM artifact with WABT, returning byte SHA-256, sections, import/export WAT forms, and decoded WAT evidence; use summary detail for counts and validation without WAT text.
Instructions
Validate an explicit local WASM artifact with caller-supplied WABT 1.0.42. Omitted or complete detail returns exact byte SHA-256, sections, upstream import/export WAT forms and decoded WAT inline as Evidence. For counts, validation and WAT identity without WAT text, pass detail: "summary" on this first call; it retains the complete original Evidence and returns the same typed summary as inspect_analysis_view, avoiding oversized complete delivery. Read exact imports/exports or WAT pages with inspect_analysis_view using normalized_result.parent_evidence_id. Delivery selection does not change analysis, provider inputs or source identity. Optionally associate selected JavaScript glue literals with explicit local candidates while preserving ambiguous URL/basename matches. Configure absolute REA_WABT_BIN_DIRECTORY. No installation, implicit fetch, WASM execution or original-source claim.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "/artifacts/module.wasm",
"glue_paths": [],
"candidate_paths": []
},
"name": "inspect_wasm_artifact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute selected local WASM artifact path | |
| detail | No | ||
| glue_paths | No | ||
| candidate_paths | No |