GraphReFlyTS

API Reference

attachToolProviderAdapterRuntime()

Creates an attach tool provider adapter runtime.

Import

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

Signature

function attachToolProviderAdapterRuntime(
	graph: Graph,
	opts: ToolProviderAdapterRuntimeOptions<TArguments, TResult>,
): ToolProviderAdapterRuntimeHandle

Parameters

ParameterTypeDescription
graphGraphGraph that owns the created nodes or projector.
optsToolProviderAdapterRuntimeOptions<TArguments, TResult>Options that configure the helper.

Returns

The attach tool provider adapter runtime result.

Example

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

Source

packages/ts/src/orchestration/agent-runtime-adapter-runtime.ts