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

Copy Markdown View Source

Embeds a terminal created with terminal/create, by its id.

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

Summary

Functions

Total: never raises. Missing/non-string terminalId is the only failure mode.

Types

t()

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

Functions

from_json(map)

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

Total: never raises. Missing/non-string terminalId is the only failure mode.

new(terminal_id)

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

to_json(t)

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