Skip to content

Graphorin API reference v0.15.1


Graphorin API reference / @graphorin/tools / / resolveTrustClass

Function: resolveTrustClass() ​

ts
function resolveTrustClass(source): ToolTrustClass;

Defined in: packages/tools/src/builder/trust-class.ts:33

Stable

Resolve the trust class for a registration. The 'web-search' subsystem name is special-cased so the built-in web-search adapter (when present) gets the same treatment as MCP-derived tools even though it is structurally a built-in tool.

Parameters ​

ParameterType
sourceToolSource

Returns ​

ToolTrustClass