Skip to content

ClientSessionCapabilities

Base classes

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

⋔ Inheritance diagram

graph TD
  95970868674736["capabilities.ClientSessionCapabilities"]
  95970868359040["base.AnnotatedObject"]
  95970855946400["base.Schema"]
  95970851503232["main.BaseModel"]
  125067848591872["builtins.object"]
  95970868359040 --> 95970868674736
  95970855946400 --> 95970868359040
  95970851503232 --> 95970855946400
  125067848591872 --> 95970851503232

🛈 DocStrings

Bases: AnnotatedObject

UNSTABLE: Session-related capabilities supported by the client.

Source code in src/aclientp/schema/v2/capabilities.py
class ClientSessionCapabilities(AnnotatedObject):
    """**UNSTABLE**: Session-related capabilities supported by the client."""

    prompt_suggestions: PromptSuggestionsCapabilities | MISSING | None = MISSING
    """Support for ``prompt_suggestions_update`` session updates."""

    commands: CommandsCapabilities | MISSING | None = MISSING
    """Command types the client understands in addition to ``command``."""

commands class-attribute instance-attribute

commands: CommandsCapabilities | MISSING | None = MISSING

Command types the client understands in addition to command.

prompt_suggestions class-attribute instance-attribute

prompt_suggestions: PromptSuggestionsCapabilities | MISSING | None = MISSING

Support for prompt_suggestions_update session updates.

:fa-brands-github: Show source on GitHub