Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/eslint-plugin / DiscoveredTool
Interface: DiscoveredTool
Defined in: tool-discovery.ts:46
Stable
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
description? | readonly | string | Tool description (description: value) when extractable. | tool-discovery.ts:54 |
examplesCount | readonly | number | Number of examples declared in the examples: array. | tool-discovery.ts:56 |
file | readonly | string | Source file the call was found in. | tool-discovery.ts:48 |
hasExamples | readonly | boolean | Whether examples: is a non-empty array literal. | tool-discovery.ts:58 |
line | readonly | number | 1-indexed line of the tool( token. | tool-discovery.ts:50 |
name | readonly | string | Tool name extracted from the name: property when present. | tool-discovery.ts:52 |
parameterNames | readonly | readonly string[] | Snapshot of identifiers referenced from the inputSchema Zod chain. | tool-discovery.ts:60 |
source | readonly | string | Raw object-literal source. Useful for tests + as a context blob when the CLI needs to surface the original source in a report. | tool-discovery.ts:67 |
tags | readonly | readonly string[] | Tags declared on the call (best-effort). | tool-discovery.ts:62 |