Skip to main content

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

Ready to ship your next agentic app in minutes?

Read docs