# tokenize_path

> **Function** in `langgraph.store`

📖 [View in docs](https://reference.langchain.com/python/langgraph.store/base/embed/tokenize_path)

Tokenize a path into components.

!!! info "Types handled"
    - Simple paths: "field1.field2"
    - Array indexing: "[0]", "[*]", "[-1]"
    - Wildcards: "*"
    - Multi-field selection: "{field1,field2}"

## Signature

```python
tokenize_path(
    path: str,
) -> list[str]
```

---

[View source on GitHub](https://github.com/langchain-ai/langgraph/blob/1a9baae9592e0c21336f6e09c891ba75481fd657/libs/checkpoint/langgraph/store/base/embed.py#L333)