# Libtmux.Operations.read_hook

- **Module:** Libtmux
- **Package:** libtmux
- **Language:** OCaml
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-ocaml/blob/205dfda49742592b479247049d186956e4a4cfe9/lib/libtmux.mli#L1194
- **Public owner:** Libtmux
- **Page:** https://libtmux.org/en/ocaml/latest/reference/libtmux-operations-read_hook/

```
val read_hook :
  ?include_inherited:bool ->
  Options.scope -> string -> Options.value option Command.t
```

Read an exact hook name. Inheritance is included by default; `None` means no entry under the selected policy. Missing targets remain errors.

## Parameters

- `include_inherited?` (`bool`)
- `arg1` (`Options.scope`)
- `arg2` (`string`)
