Function: buildToolSpanSchema()
Prefactor TypeScript SDK / @prefactor/openclaw-prefactor-plugin / buildToolSpanSchema
Function: buildToolSpanSchema()
Section titled “Function: buildToolSpanSchema()”buildToolSpanSchema(
inputSchema):JsonSchema
Defined in: packages/openclaw-prefactor-plugin/src/tool-span-contract.ts:104
Builds a complete JSON schema for a tool span.
Parameters
Section titled “Parameters”inputSchema
Section titled “inputSchema”JsonSchema
JSON Schema for the tool’s input parameters
Returns
Section titled “Returns”JsonSchema
Complete tool span schema