Function: resolveDisabledNativeTools()
Makaio Framework / ai-adapters-core / resolveDisabledNativeTools
Function: resolveDisabledNativeTools()
Section titled “Function: resolveDisabledNativeTools()”resolveDisabledNativeTools(
requester,adapterName,harnessId?,clientId?):Promise<readonlystring[]>
Defined in: ../../../adapters/core/src/utils/resolveDisabledNativeTools.ts:35
Resolve SDK-native tool names disabled by the active harness for an adapter.
When harnessId is provided, fetches that specific harness by ID.
Otherwise falls back to the adapter’s default harness via adapterName and
optional clientId so that client-scoped harnesses are considered.
Uses optional request semantics so callers can run without harness registration (for example, in lightweight test runtimes).
Parameters
Section titled “Parameters”requester
Section titled “requester”Bus-like requester supporting requestOptional for harness subjects
adapterName
Section titled “adapterName”string
Adapter name used to look up the default harness (fallback path)
harnessId?
Section titled “harnessId?”string
Optional explicit harness ID; takes precedence over the default lookup
clientId?
Section titled “clientId?”string
Optional client identifier for client-scoped default harness lookup
Returns
Section titled “Returns”Promise<readonly string[]>
Disabled native tool names, or an empty array when unavailable