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

Copy Markdown View Source

Unstructured command input: raw free text typed after the command name, as a hint for what's expected.

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

Summary

Functions

Total: never raises. A missing/non-string hint is the only failure mode (required field).

Types

t()

@type t() :: %Raxol.AgentClientProtocol.Schema.UnstructuredCommandInput{
  _meta: map(),
  hint: String.t()
}

Functions

from_json(map)

@spec from_json(term()) :: {:ok, t()} | {:error, term()}

Total: never raises. A missing/non-string hint is the only failure mode (required field).

new(hint)

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

to_json(u)

@spec to_json(t()) :: map()