Skip to content

Terminal

Base classes

Name Children Inherits
AnnotatedObject
aclientp.schema.v2.base
A v2 object with the ``_meta`` extension point.

⋔ Inheritance diagram

graph TD
  95970870773136["tool_calls.Terminal"]
  95970868359040["base.AnnotatedObject"]
  95970855946400["base.Schema"]
  95970851503232["main.BaseModel"]
  125067848591872["builtins.object"]
  95970868359040 --> 95970870773136
  95970855946400 --> 95970868359040
  95970851503232 --> 95970855946400
  125067848591872 --> 95970851503232

🛈 DocStrings

Bases: AnnotatedObject

A display-only reference to an agent-owned terminal.

State and output arrive separately as terminal_update and terminal_output_chunk.

Source code in src/aclientp/schema/v2/tool_calls.py
class Terminal(AnnotatedObject):
    """A display-only reference to an agent-owned terminal.

    State and output arrive separately as ``terminal_update`` and
    ``terminal_output_chunk``.
    """

    type: Literal["terminal"] = Field(default="terminal", init=False)

    terminal_id: TerminalId
    """The terminal to display."""

terminal_id instance-attribute

terminal_id: TerminalId

The terminal to display.

:fa-brands-github: Show source on GitHub