Skip to content

LoadSessionRequest

Base classes

Name Children Inherits
SessionSetupRequest
aclientp.schema.client_requests
Fields shared by the session lifecycle requests (new, load, resume, fork).

⋔ Inheritance diagram

graph TD
  95970860194496["client_requests.LoadSessionRequest"]
  95970860257072["client_requests.SessionSetupRequest"]
  95970858197488["base.Request"]
  95970862258240["base.AnnotatedObject"]
  95970862254416["base.Schema"]
  95970851503232["main.BaseModel"]
  125067848591872["builtins.object"]
  95970860257072 --> 95970860194496
  95970858197488 --> 95970860257072
  95970862258240 --> 95970858197488
  95970862254416 --> 95970862258240
  95970851503232 --> 95970862254416
  125067848591872 --> 95970851503232

🛈 DocStrings

Bases: SessionSetupRequest

Request parameters for loading an existing session.

Only available if the Agent supports the loadSession capability.

See protocol docs: Loading Sessions

Source code in src/aclientp/schema/client_requests.py
class LoadSessionRequest(SessionSetupRequest):
    """Request parameters for loading an existing session.

    Only available if the Agent supports the `loadSession` capability.

    See protocol docs: [Loading Sessions](https://agentclientprotocol.com/protocol/session-setup#loading-sessions)
    """

    session_id: str
    """The ID of the session to load."""

session_id instance-attribute

session_id: str

The ID of the session to load.

:fa-brands-github: Show source on GitHub