Skip to content

InitializeRequest

Sub classes

Name Children Inherits
InitializeProxyRequest
aclientp.schema.v2.protocol
**UNSTABLE**: Parameters of ``proxy/initialize``, sent instead of ``initialize``.

    Base classes

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

    ⋔ Inheritance diagram

    graph TD
      95970870498688["initialize.InitializeRequest"]
      95970868359040["base.AnnotatedObject"]
      95970855946400["base.Schema"]
      95970851503232["main.BaseModel"]
      125067848591872["builtins.object"]
      95970868359040 --> 95970870498688
      95970855946400 --> 95970868359040
      95970851503232 --> 95970855946400
      125067848591872 --> 95970851503232

    🛈 DocStrings

    Bases: AnnotatedObject

    Request parameters for the initialize method.

    Source code in src/aclientp/schema/v2/initialize.py
    class InitializeRequest(AnnotatedObject):
        """Request parameters for the initialize method."""
    
        protocol_version: ProtocolVersion
        """The latest protocol version supported by the client."""
    
        info: Implementation
        """Information about the implementation sending this initialize request."""
    
        capabilities: ClientCapabilities | MISSING = MISSING
        """Capabilities supported by the client."""
    

    capabilities class-attribute instance-attribute

    capabilities: ClientCapabilities | MISSING = MISSING
    

    Capabilities supported by the client.

    info instance-attribute

    Information about the implementation sending this initialize request.

    protocol_version instance-attribute

    protocol_version: ProtocolVersion
    

    The latest protocol version supported by the client.

    :fa-brands-github: Show source on GitHub