Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/tools / / resolveTrustClass
Function: resolveTrustClass()
ts
function resolveTrustClass(source): ToolTrustClass;Defined in: packages/tools/src/builder/trust-class.ts:33
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
| Parameter | Type |
|---|---|
source | ToolSource |