GraphReFlyTS

API Reference

httpToolProviderRuntime()

Creates a HTTP tool provider runtime.

Import

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

Signature

function httpToolProviderRuntime(
	graph: Graph,
	opts: HttpToolProviderRuntimeOptions,
): HttpToolProviderRuntimeBundle

Parameters

ParameterTypeDescription
graphGraphGraph that owns the created nodes or projector.
optsHttpToolProviderRuntimeOptionsOptions that configure the helper.

Returns

The HTTP tool provider runtime result.

Example

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

Source

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