GraphReFlyTS

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

ParameterTypeDescription
graphGraphGraph that owns the created nodes or projector.
optsToolProviderExecutionRecipeOptions<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