Function: buildBodyFn()
buildBodyFn(
bodyProps): ((args) =>Record<string,unknown>) |undefined
Defined in: http-server-mcp-openapi/src/schema.ts:450
Builds a function that maps tool args back to a request body keyed by the
spec's property names, skipping undefined args. Returns undefined when the op has no body.
Parameters
| Parameter | Type |
|---|---|
bodyProps | object[] |
Returns
((args) => Record<string, unknown>) | undefined