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
| Property | Modifier | Type | Defined in |
|---|---|---|---|
description? | readonly | string | packages/core/src/contracts/provider.ts:202 |
inputSchema | readonly | Readonly<Record<string, unknown>> | packages/core/src/contracts/provider.ts:203 |
name | readonly | string | packages/core/src/contracts/provider.ts:201 |