# get_handoff_destinations

> **Function** in `langgraph_swarm`

📖 [View in docs](https://reference.langchain.com/python/langgraph-swarm/handoff/get_handoff_destinations)

Get a list of destinations from agent's handoff tools.

## Signature

```python
get_handoff_destinations(
    agent: CompiledStateGraph,
    tool_node_name: str = 'tools',
) -> list[str]
```

---

[View source on GitHub](https://github.com/langchain-ai/langgraph-swarm-py/blob/16ba1763421a5e6f1b496ba32a1e96ecdc4b1319/langgraph_swarm/handoff.py#L99)