Skip to content

Graphorin API reference v0.7.0


Graphorin API reference / @graphorin/tools / / ToolSearchMatch

Interface: ToolSearchMatch

Defined in: packages/tools/src/registry/types.ts:100

Match returned by ToolRegistry.searchDeferred. Carries the stage that produced the match so consumers can detect rank-chain fallback and surface it on the trace span.

Stable

Properties

PropertyModifierTypeDescriptionDefined in
descriptionreadonlystring-packages/tools/src/registry/types.ts:102
inputSchemareadonlyReadonly<Record&lt;string, unknown&gt;>-packages/tools/src/registry/types.ts:103
namereadonlystring-packages/tools/src/registry/types.ts:101
outputSchema?readonlyReadonly<Record&lt;string, unknown&gt;>A5: the matched tool's output schema, when declared (renders a return type).packages/tools/src/registry/types.ts:105
scorereadonlynumber-packages/tools/src/registry/types.ts:106
sourcereadonly"semantic" | "bm25" | "regex-name"-packages/tools/src/registry/types.ts:107