Raxol.AgentClientProtocol.Schema.ToolKind (Raxol Agent Client Protocol v0.1.0)

Copy Markdown View Source

Categories of tools that can be invoked. An open enum: the ACP schema documents "other" as its explicit default, so an unrecognized wire value decodes to :other rather than failing (no String.to_atom/1 is ever used -- every value is an explicit, whitelisted clause).

Ported from the MIT f1729/agent_client_protocol (c) 2025 f1729; see NOTICE.md.

Summary

Functions

Total and infallible: any unrecognized wire value decodes to the documented default, :other.

Types

t()

@type t() ::
  :read
  | :edit
  | :delete
  | :move
  | :search
  | :execute
  | :think
  | :fetch
  | :switch_mode
  | :other

Functions

decode(arg1)

@spec decode(term()) :: t()

Total and infallible: any unrecognized wire value decodes to the documented default, :other.

default()

@spec default() :: t()

default?(arg1)

@spec default?(t()) :: boolean()

encode(atom)

@spec encode(t()) :: String.t()