# mcp.caller.CallerIdentity.from_values

- **Module:** mcp.caller.CallerIdentity
- **Package:** tmux-mcp
- **Language:** Rust
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-rs/blob/f0e37052c232636b61d095817046e6bfc8f2ca40/crates/tmux-mcp/src/caller.rs#L93
- **Page:** https://libtmux.org/en/rs/latest/mcp/reference/mcp-caller-calleridentity-from_values/

```
mcp.caller.CallerIdentity.from_values(tmux: Option<OsString>, pane: Option<OsString>) -> Option<Self>
```

Build an identity from explicit values, as the environment would give them.

Separate from [`CallerIdentity::from_env`] so the parsing can be tested
without a process-wide environment, which no test can hold alone.
