ToolArgument
- struct ToolArgument : struct Tool
Argument -
One argument of a tool, in enough detail to generate its schema.
Members17 members
- !=(_:_:) function inherited Returns a Boolean value indicating whether two values are not equal.
- Kind: enum Kind enum
- name: let name: String property
- summary: let summary: String property
- kind: let kind: Kind property
- isRequired: let is
Required : Bool property - allowed: let allowed: [String] 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: let default
Value : JSONValue? 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: let minimum: Double? property Inclusive numeric bounds, enforced by the reader and published in the schema.
- maximum: let maximum: Double? property
- maximumItems: let maximum
Items : Int? property The most entries accepted in an array argument. - minimumItems: let minimum
Items : Int? property The fewest entries accepted in an array argument. - maximumLength: let maximum
Length : Int? property The most characters accepted in a string argument. - maximumUTF8Bytes: let maximum
UTF8Bytes : Int? property A byte ceiling disclosed explicitly because JSON Schema maxLength counts characters. - pattern: let pattern: String? property A JSON Schema pattern applied before the value reaches tmux.
- itemSchema: let item
Schema : JSONValue? property The schema for each entry when an array contains structured values. - tmuxFormatControl: let tmux
Format : TmuxControl Format ? property The exact control applied before this value reaches tmux format expansion.Control
No members of ToolArgument match . The filter searches only this type. Search the whole API.