Skip to content

Function: buildToolSpanSchema()

Prefactor TypeScript SDK


Prefactor TypeScript SDK / @prefactor/openclaw-prefactor-plugin / 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.

JsonSchema

JSON Schema for the tool’s input parameters

JsonSchema

Complete tool span schema