toolProviderExecutionRecipe()
Creates a tool provider execution recipe.
Import
Section titled “Import”import { toolProviderExecutionRecipe } from "@graphrefly/ts/executors/tool-provider";Signature
Section titled “Signature”function toolProviderExecutionRecipe( graph: Graph, opts: ToolProviderExecutionRecipeOptions<TArguments, TResult>,): ToolProviderExecutionRecipeBundleParameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
graph | Graph | Graph that owns the created nodes or projector. |
opts | ToolProviderExecutionRecipeOptions<TArguments, TResult> | Options that configure the helper. |
Returns
Section titled “Returns”A bundle of graph-visible nodes for the recipe.
Example
Section titled “Example”import { toolProviderExecutionRecipe } from "@graphrefly/ts/executors/tool-provider";Source
Section titled “Source”packages/ts/src/executors/tool-provider.ts