# LibTmux::Capabilities.require-field

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** Raku
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-raku/blob/0b5dd3d32e20f83a0069874e33eab0eb48f55962/lib/LibTmux/Capabilities.rakumod#L205
- **Page:** https://libtmux.org/en/raku/latest/reference/libtmux-capabilities-require-field/

```
method require-field(Str:D $entity, Str:D $name)
```

Return the supported field specification or throw Unsupported with its reason.

Return the supported field specification or throw Unsupported with its reason.

## Parameters

- `$entity` (`Str:D`)
- `$name` (`Str:D`)
