List instructions
instruction_listEnumerate WebAssembly instructions with optional filters for category, version, prefix, or trapping behavior. Returns sorted rows with basic info for further detail.
Instructions
Enumerate WebAssembly instructions with optional filters: category (control, numeric, parametric, variable, table, memory, ref, i31, struct, array, extern, vec), introduced_in (1.0 | 2.0 | 3.0), prefix (mnemonic prefix like i32.), and can_trap (only trapping / only non-trapping instructions). Returns lightweight rows (incl. can_trap) sorted by opcode; follow up with instruction_get for full detail incl. trap conditions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prefix | No | Filter to mnemonics starting with this prefix, e.g. `i32.` or `v128.`. Case-insensitive. | |
| version | No | WebAssembly spec version to query. `latest` (default) is the current served version; `main` is the upstream working draft. | latest |
| can_trap | No | Filter by trapping behavior: `true` keeps only instructions that can trap at runtime, `false` keeps only those that never trap. See instruction_get for the per-instruction trap conditions. | |
| category | No | Filter by instruction category: control, numeric, parametric, variable, table, memory, ref, i31, struct, array, extern, vec (vector/SIMD). | |
| introduced_in | No | Filter to instructions introduced in this WebAssembly version: `1.0`, `2.0`, or `3.0`. |