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