hasNavigation

declare function hasNavigation(clientId: string, agentName: AgentName): Promise<boolean>;

Checks if a specific agent is part of the navigation route for a given client. Validates the agent and client session, retrieves the associated swarm, and queries the navigation route. Logs the operation if enabled by global configuration.

Parameter Description
clientId The unique identifier of the client session.
agentName The name of the agent to use or reference.