Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/eslint-plugin / DiscoveredTool

Interface: DiscoveredTool

Defined in: tool-discovery.ts:46

Stable

Properties

PropertyModifierTypeDescriptionDefined in
description?readonlystringTool description (description: value) when extractable.tool-discovery.ts:54
examplesCountreadonlynumberNumber of examples declared in the examples: array.tool-discovery.ts:56
filereadonlystringSource file the call was found in.tool-discovery.ts:48
hasExamplesreadonlybooleanWhether examples: is a non-empty array literal.tool-discovery.ts:58
linereadonlynumber1-indexed line of the tool( token.tool-discovery.ts:50
namereadonlystringTool name extracted from the name: property when present.tool-discovery.ts:52
parameterNamesreadonlyreadonly string[]Snapshot of identifiers referenced from the inputSchema Zod chain.tool-discovery.ts:60
sourcereadonlystringRaw 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
tagsreadonlyreadonly string[]Tags declared on the call (best-effort).tool-discovery.ts:62