Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/core / / ToolDefinition

Interface: ToolDefinition

Defined in: packages/core/src/contracts/provider.ts:200

Tool description shipped with a provider request. Implementations convert the user's Zod schema to a JSON Schema 7 fragment.

Stable

Properties

PropertyModifierTypeDefined in
description?readonlystringpackages/core/src/contracts/provider.ts:202
inputSchemareadonlyReadonly<Record&lt;string, unknown&gt;>packages/core/src/contracts/provider.ts:203
namereadonlystringpackages/core/src/contracts/provider.ts:201