# libtmux::mcp::parse_tool_selection

- **Module:** libtmux::mcp
- **Package:** mcp_tools consumer
- **Language:** C++
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-cxx/blob/393d4b0ad666f18a6581f1eb281741a75a7503f0/apps/mcp/include/libtmux_consumers/mcp.hpp#L279
- **Page:** https://libtmux.org/en/cxx/latest/mcp/reference/libtmux-mcp-parse_tool_selection/

```
libtmux::mcp::parse_tool_selection(toolsets: std::optional< std::string_view >, include: std::optional< std::string_view >, exclude: std::optional< std::string_view >, teardown_enabled_by_default: bool = true) -> libtmux::expected< ToolSelection, std::string >
```
