# ToolArgument

- **Package:** libtmux-swift
- **Language:** Swift
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-swift/blob/f02a4668570e1cc5198c941413750e021f42c214/Sources/LibTmuxMCP/ToolCatalog.swift#L35
- **Page:** https://libtmux.org/reference/swift/toolargument/

One argument of a tool, in enough detail to generate its schema.

The schema and the reader are generated from the same declaration, which is
what keeps a documented argument from being one the tool cannot actually
receive.

## Members

- `!=(_:_:)` (function) — Returns a Boolean value indicating whether two values are not equal.
- `Kind` (enum)
- `name` (property)
- `summary` (property)
- `kind` (property)
- `isRequired` (property)
- `allowed` (property) — The only values accepted, when there is a fixed set. Reaches the schema as `enum`, so a client can offer them rather than guess.
- `defaultValue` (property) — What the tool does when the argument is omitted, stated in the schema so a caller need not send it to find out.
- `minimum` (property) — Inclusive numeric bounds, enforced by the reader and published in the schema.
- `maximum` (property)
- `maximumItems` (property) — The most entries accepted in an array argument.
