Skip to content

SessionReferenceToolCallContent

Base classes

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

⋔ Inheritance diagram

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

🛈 DocStrings

Bases: AnnotatedObject

UNSTABLE: Reference to another session, e.g. a subagent spawned by this tool call.

Source code in src/aclientp/schema/tool_call.py
class SessionReferenceToolCallContent(AnnotatedObject):
    """**UNSTABLE**: Reference to another session, e.g. a subagent spawned by this tool call."""

    type: Literal["session"] = Field(default="session", init=False)
    """Session reference tool call content."""

    session_id: str
    """The referenced session."""

session_id instance-attribute

session_id: str

The referenced session.

type class-attribute instance-attribute

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

Session reference tool call content.

:fa-brands-github: Show source on GitHub