# tmuxp.workspace.freezer.freeze

- **Module:** tmuxp.workspace.freezer
- **Package:** tmuxp
- **Language:** Python
- **Kind:** function
- **Source:** https://github.com/tmux-python/tmuxp/blob/153acdf6ff1268b14d3d03ed488f545a7123c8f1/src/tmuxp/workspace/freezer.py#L59
- **Page:** https://libtmux.org/en/py/latest/workspace/reference/tmuxp-workspace-freezer-freeze/

```
tmuxp.workspace.freezer.freeze(session: Session) -> dict[str, t.Any]
```

Freeze live tmux session into a tmuxp workspace.

## Parameters

- `session` (Session): session object

## Returns

dict
    tmuxp compatible workspace
