gen_api_stub
Generate a .spec and stub .c file for one DLL from an API-surface dump; stubs return E_NOTIMPL, ready for implementation from behavioral specs.
Instructions
Generate .spec + stub .c for one DLL straight from an API-surface dump (stubs return E_NOTIMPL; implement from behavioral specs, highest-import first).
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": {
"workspace": "<workspace>",
"surface_json": "<surface_json>",
"module": "<module>"
},
"name": "gen_api_stub"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| module | Yes | ||
| max_stubs | No | ||
| workspace | Yes | ||
| surface_json | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |