CreateToolFromWorkflowOptions
CreateToolFromWorkflowOptions<
TRawInput,TToolInput> =object
Defined in: packages/core/src/tools/from-workflow.ts:7
Type Parameters
Section titled “Type Parameters”TRawInput
Section titled “TRawInput”TRawInput
TToolInput
Section titled “TToolInput”TToolInput = TRawInput
Properties
Section titled “Properties”description
Section titled “description”description:
string
Defined in: packages/core/src/tools/from-workflow.ts:9
inputSchema?
Section titled “inputSchema?”
optionalinputSchema?:z.ZodType<TToolInput>
Defined in: packages/core/src/tools/from-workflow.ts:11
Zod schema for the LLM-facing tool arguments. When omitted, arguments are a catch-all object.
mapInput?
Section titled “mapInput?”
optionalmapInput?: (toolArgs) =>TRawInput
Defined in: packages/core/src/tools/from-workflow.ts:12
Parameters
Section titled “Parameters”toolArgs
Section titled “toolArgs”TToolInput
Returns
Section titled “Returns”TRawInput
optionalname?:string
Defined in: packages/core/src/tools/from-workflow.ts:8