# libtmux.neo.SCOPES_BY_LIST_CMD

- **Module:** libtmux.neo
- **Package:** libtmux
- **Language:** Python
- **Kind:** constant
- **Source:** https://github.com/tmux-python/libtmux/blob/036c521c4b83ce6e434eb50afe2a0d08a6a05e46/src/libtmux/neo.py#L30
- **Page:** https://libtmux.org/reference/py/libtmux-neo-scopes_by_list_cmd/

Format-token scopes a given tmux ``list-*`` subcommand can resolve.

A token whose scope is in the set is safe to include in that subcommand's
``-F`` template. A token whose scope is *outside* the set may be unavailable
for that command, so libtmux leaves it out.

The relationship is asymmetric: when tmux lists a parent object, it can also
report fields for that parent's active child. A session row can include its
current window and active pane fields, and a client row can include the
attached session, current window, and active pane. ``client`` scope is the
exception in the other direction: it appears only in ``list-clients`` because
session/window/pane listings do not have a client attachment to report.
