Function: resolveMappedSpanType()
Prefactor TypeScript SDK / @prefactor/core / resolveMappedSpanType
Function: resolveMappedSpanType()
Section titled “Function: resolveMappedSpanType()”resolveMappedSpanType(
toolName,toolSpanTypes,defaultSpanType):string
Defined in: packages/core/src/tool-schema.ts:36
Parameters
Section titled “Parameters”toolName
Section titled “toolName”string
toolSpanTypes
Section titled “toolSpanTypes”Record<string, string> | undefined
defaultSpanType
Section titled “defaultSpanType”string
Returns
Section titled “Returns”string