Skip to content
PACKAGES

toolProviderExecutionRecipe()

Creates a tool provider execution recipe.

import { toolProviderExecutionRecipe } from "@graphrefly/ts/executors/tool-provider";
function toolProviderExecutionRecipe(
graph: Graph,
opts: ToolProviderExecutionRecipeOptions<TArguments, TResult>,
): ToolProviderExecutionRecipeBundle
ParameterTypeDescription
graphGraphGraph that owns the created nodes or projector.
optsToolProviderExecutionRecipeOptions<TArguments, TResult>Options that configure the helper.

A bundle of graph-visible nodes for the recipe.

import { toolProviderExecutionRecipe } from "@graphrefly/ts/executors/tool-provider";

packages/ts/src/executors/tool-provider.ts