# libtmux.server._dispatch_scoped_cmd

- **Module:** libtmux.server
- **Package:** libtmux
- **Language:** Python
- **Kind:** function
- **Source:** https://github.com/tmux-python/libtmux/blob/efdbb5637666b166358772ecc737b3807beab21e/src/libtmux/server.py#L184
- **Page:** https://libtmux.org/en/py/latest/reference/libtmux-server-_dispatch_scoped_cmd/

```
libtmux.server._dispatch_scoped_cmd(
    server: Server,
    cmd: str,
    args: StrPath | int,
    target: str | int | None = None,
    timeout: float | _UnsetType | None = _UNSET,
) -> tmux_cmd
```

Forward an object-scoped ``cmd`` call to ``server.cmd``.

## Parameters

- `server` (`Server`)
- `cmd` (`str`)
- `args` (`StrPath | int`)
- `target` (`str | int | None`)
  Default: `None`.
- `timeout` (`float | _UnsetType | None`)
  Default: `_UNSET`.
