Scaffold Call
S8-API-01 — paid scaffold surface, mirrors the MCP gecko_scaffold.
Charges $0.05 in live mode (matches the MCP pricing); free in stub.
Errors collapse to clean HTTPExceptions instead of the MCP tool’s
{error, message} envelope so HTTP callers can branch on status code.
Body
S8-API-01 — HTTP shape for POST /scaffold.
Mirrors the MCP gecko_scaffold tool's input schema. output_dir
is server-side and intentionally NOT exposed over HTTP — clients can't
write to the API host's filesystem; the response surfaces the bundle
contents (paths under the server's working dir) for the caller to fetch
or render. Future work: stream the bundle bytes back in the response.
1Response
Successful Response
The response is of type Response Scaffold Call Scaffold Post · object.