Accéder au contenu principal

Function: isSupervisorTool()

Function: isSupervisorTool()

function isSupervisorTool(value: unknown): value is HostedSupervisorTool;

Type guard for HostedSupervisorTool. Used by the agents plugin (buildToolIndex) and standalone runAgent (classifyTool) to route supervisor-hosted tools to the extensions payload rather than the adapter's tools array.

Parameters

ParameterType
valueunknown

Returns

value is HostedSupervisorTool

Databricks Developer Hub

Prêt à lancer votre prochaine application agentique en quelques minutes ?

Lire la documentation