Function: createToolSpanInputs()
Prefactor TypeScript SDK / @prefactor/openclaw-prefactor-plugin / createToolSpanInputs
Function: createToolSpanInputs()
Section titled “Function: createToolSpanInputs()”createToolSpanInputs(
params):Record<string,unknown>
Defined in: packages/openclaw-prefactor-plugin/src/tool-span-contract.ts:69
Creates structured inputs for a tool call span.
Parameters
Section titled “Parameters”params
Section titled “params”Tool call parameters
toolName
Section titled “toolName”string
toolCallId?
Section titled “toolCallId?”string
input?
Section titled “input?”unknown
Returns
Section titled “Returns”Record<string, unknown>
Structured span inputs following OpenClaw tool-span-contract