# ToolAuthority.init(toolsets:includedTools:excludedTools:)

**MCP concept example** A working example of the core library. It can change without notice.

- **Package:** LibTmuxMCP
- **Language:** Swift
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-swift/blob/094c1e0792570d9d196a766cb0895b194aaeb94c/Sources/LibTmuxMCP/ToolAuthority.swift#L9
- **Page:** https://libtmux.org/en/swift/latest/mcp/reference/toolauthority-init(toolsets-includedtools-excludedtools-)/

```
init(
    toolsets: Set<Toolset>, includedTools: Set<String>,
    excludedTools: Set<String>)
```

## Parameters

- `toolsets` (`Set<Toolset>`)
- `includedTools` (`Set<String>`)
- `excludedTools` (`Set<String>`)
