Back to documentation
Preparing search index...
The search index is not available
API Reference
API Reference
langgraph-swarm
getHandoffDestinations
Function getHandoffDestinations
get
Handoff
Destinations
<
AnnotationRootT
>
(
agent
,
toolNodeName
?
)
:
string
[]
Type Parameters
AnnotationRootT
extends
AnnotationRoot
<
any
,
AnnotationRootT
>
Parameters
agent
:
CompiledStateGraph
<
AnnotationRootT
[
"State"
]
,
AnnotationRootT
[
"Update"
]
,
string
,
AnnotationRootT
[
"spec"
]
,
AnnotationRootT
[
"spec"
]
,
StateDefinition
>
Optional
toolNodeName
:
string
Returns
string
[]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
API Reference
Loading...