dump_api_surface
Dump export names, ordinals, imports, and versions from reference DLLs into JSON and Markdown to define the target contract for an OS rebuild.
Instructions
Dump the interface surface of a directory of reference DLLs: export names, ordinals, imports, versions -> JSON + MD. This is the rebuild's target contract.
IMPORTANT (moderate guardrails): keep the inspected copies OUTSIDE the repo (e.g. ~/inspect/); only the generated surface JSON/MD goes into workspace/api/.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| out | Yes | ||
| pattern | No | *.dll | |
| src_dir | Yes | ||
| workspace | No | ||
| include_exe | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |