Skip to content

SetSessionTitleRequest

Base classes

Name Children Inherits
Request
aclientp.schema.base
Base request model.

⋔ Inheritance diagram

graph TD
  95970860778560["client_requests.SetSessionTitleRequest"]
  95970858197488["base.Request"]
  95970862258240["base.AnnotatedObject"]
  95970862254416["base.Schema"]
  95970851503232["main.BaseModel"]
  125067848591872["builtins.object"]
  95970858197488 --> 95970860778560
  95970862258240 --> 95970858197488
  95970862254416 --> 95970862258240
  95970851503232 --> 95970862254416
  125067848591872 --> 95970851503232

🛈 DocStrings

Bases: Request

UNSTABLE: Request parameters for renaming a session.

Only available if the Agent supports the session.title capability.

Source code in src/aclientp/schema/client_requests.py
class SetSessionTitleRequest(Request):
    """**UNSTABLE**: Request parameters for renaming a session.

    Only available if the Agent supports the ``session.title`` capability.
    """

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

    title: str
    """The new title for the session."""

session_id instance-attribute

session_id: str

The ID of the session to retitle.

title instance-attribute

title: str

The new title for the session.

:fa-brands-github: Show source on GitHub