Skip to content

TerminalToolCallContent

Base classes

Name Children Inherits
AnnotatedObject
aclientp.schema.base
Base class for generated models.

⋔ Inheritance diagram

graph TD
  95970858721792["tool_call.TerminalToolCallContent"]
  95970862258240["base.AnnotatedObject"]
  95970862254416["base.Schema"]
  95970851503232["main.BaseModel"]
  125067848591872["builtins.object"]
  95970862258240 --> 95970858721792
  95970862254416 --> 95970862258240
  95970851503232 --> 95970862254416
  125067848591872 --> 95970851503232

🛈 DocStrings

Bases: AnnotatedObject

Embed a terminal created with terminal/create by its id.

The terminal must be added before calling terminal/release. See protocol docs: Terminal

Source code in src/aclientp/schema/tool_call.py
class TerminalToolCallContent(AnnotatedObject):
    """Embed a terminal created with `terminal/create` by its id.

    The terminal must be added before calling `terminal/release`.
    See protocol docs: [Terminal](https://agentclientprotocol.com/protocol/terminal)
    """

    type: Literal["terminal"] = Field(default="terminal", init=False)
    """Terminal tool call content."""

    terminal_id: str
    """The ID of the terminal being embedded."""

terminal_id instance-attribute

terminal_id: str

The ID of the terminal being embedded.

type class-attribute instance-attribute

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

Terminal tool call content.

:fa-brands-github: Show source on GitHub