# libtmux_mcp.models.HookEntry.index

- **Module:** libtmux_mcp.models
- **Package:** libtmux-mcp
- **Language:** Python
- **Kind:** attribute
- **Source:** https://github.com/tmux-python/libtmux-mcp/blob/4daddc0dfca96c43bf521d818bf91564e1434760/src/libtmux_mcp/models.py#L684
- **Page:** https://libtmux.org/en/py/stable/mcp/reference/libtmux_mcp-models-hookentry-index/

```py
libtmux_mcp.models.HookEntry.index: int | None = Field(
        default=None,
        description=(
            "Array index for array-style hooks (e.g. session-renamed[3]). "
            "``None`` for scalar hooks."
        ),
    )
```
