# tmux_query:source_command/0

- **Package:** libtmux_erlang
- **Language:** Erlang
- **Kind:** typealias
- **Source:** https://github.com/libtmux/libtmux-erlang/blob/d1b6308440cf9eb8f6647e7ae434bce60e849368/apps/libtmux_erlang/src/tmux_query.erl#L75
- **Page:** https://libtmux.org/en/erlang/latest/reference/t-tmux_query-source_command-0/

```
-type source_command() ::
          #{entity := tmux_schema:entity(),
            command := binary(),
            format := binary(),
            transport := one_shot,
            codec := scalar_spine,
            kind := tmux_schema:entity(),
            args := [binary()],
            filter => binary()} |
          #{entity := tmux_schema:entity(),
            fields := [atom()],
            command := binary(),
            format := binary(),
            transport := one_shot,
            codec := escaped_columns_v1,
            args := [binary()]} |
          #{entity := tmux_schema:entity(),
            field := atom(),
            command := binary(),
            format := binary(),
            transport := one_shot,
            codec := id_prefixed_quoted_field,
            target := observed_id}.
```

Diagnostic command template, not executable argv. Scan templates carry args; text/byte hydration escapes each field once before column framing. Unqualified schema fields use isolated target = observed_id templates, resolved only while capturing. codec states how returned data is framed, including the version-specific print layer. This value grants no atomicity or persistent-connection guarantee.
