Skip to content

Response

Sub classes

Name Children Inherits
ElicitationResponse
aclientp.schema.elicitation
Response from the client to an elicitation request.
    MessageMcpResponse
    aclientp.schema.mcp
    **UNSTABLE**: Response to ``mcp/message``: exactly one inner MCP outcome.
      ListProvidersResponse
      aclientp.schema.providers
      Response to ``providers/list``.
        SetProviderResponse
        aclientp.schema.providers
        Response to ``providers/set``.
          DisableProviderResponse
          aclientp.schema.providers
          Response to ``providers/disable``.
            CustomResponse
            aclientp.schema.agent_responses
            Response for custom/extension methods.
              NewSessionResponse
              aclientp.schema.agent_responses
              Response from creating a new session.
                LoadSessionResponse
                aclientp.schema.agent_responses
                Response from loading an existing session.
                  ForkSessionResponse
                  aclientp.schema.agent_responses
                  **UNSTABLE**: Response from forking an existing session.
                    ResumeSessionResponse
                    aclientp.schema.agent_responses
                    Response from resuming an existing session.
                      SetSessionModeResponse
                      aclientp.schema.agent_responses
                      Response to `session/set_mode` method.
                        SetSessionConfigOptionResponse
                        aclientp.schema.agent_responses
                        Response to `session/set_config_option` method.
                          PromptResponse
                          aclientp.schema.agent_responses
                          Response from processing a user prompt.
                            CloseSessionResponse
                            aclientp.schema.agent_responses
                            Response from closing a session.
                              DeleteSessionResponse
                              aclientp.schema.agent_responses
                              Response to ``session/delete``.
                                ArchiveSessionResponse
                                aclientp.schema.agent_responses
                                **UNSTABLE**: Response to ``session/archive``.
                                  UnarchiveSessionResponse
                                  aclientp.schema.agent_responses
                                  **UNSTABLE**: Response to ``session/unarchive``.
                                    SessionStatusResponse
                                    aclientp.schema.agent_responses
                                    **UNSTABLE**: Response to ``session/status``.
                                      SessionOptionsResponse
                                      aclientp.schema.agent_responses
                                      **UNSTABLE**: The modes and config options a session would start with.
                                        SetSessionTitleResponse
                                        aclientp.schema.agent_responses
                                        **UNSTABLE**: Response to ``session/set_title``.
                                          AuthenticateResponse
                                          aclientp.schema.agent_responses
                                          Response to authenticate method.
                                            LogoutResponse
                                            aclientp.schema.agent_responses
                                            Response to the ``logout`` method.
                                              AuthStatusResponse
                                              aclientp.schema.agent_responses
                                              **UNSTABLE**: Response to ``auth/status``.
                                                InitializeResponse
                                                aclientp.schema.agent_responses
                                                Response from the initialize method.
                                                ListSessionsResponse
                                                aclientp.schema.agent_responses
                                                Response from listing sessions.
                                                  CreateTerminalResponse
                                                  aclientp.schema.client_responses
                                                  Response containing the ID of the created terminal.
                                                    KillTerminalResponse
                                                    aclientp.schema.client_responses
                                                    Response to the ``terminal/kill`` method.
                                                      ReleaseTerminalResponse
                                                      aclientp.schema.client_responses
                                                      Response to terminal/release method.
                                                        TerminalOutputResponse
                                                        aclientp.schema.client_responses
                                                        Response containing the terminal output and exit status.
                                                          WaitForTerminalExitResponse
                                                          aclientp.schema.client_responses
                                                          Response containing the exit status of a terminal command.
                                                            WriteTextFileResponse
                                                            aclientp.schema.client_responses
                                                            Response to `fs/write_text_file`.
                                                              ReadTextFileResponse
                                                              aclientp.schema.client_responses
                                                              Response containing the contents of a text file.
                                                                RequestPermissionResponse
                                                                aclientp.schema.client_responses
                                                                Response to a permission request.

                                                                  Base classes

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

                                                                  ⋔ Inheritance diagram

                                                                  graph TD
                                                                    95970861210848["base.Response"]
                                                                    95970862258240["base.AnnotatedObject"]
                                                                    95970862254416["base.Schema"]
                                                                    95970851503232["main.BaseModel"]
                                                                    125067848591872["builtins.object"]
                                                                    95970862258240 --> 95970861210848
                                                                    95970862254416 --> 95970862258240
                                                                    95970851503232 --> 95970862254416
                                                                    125067848591872 --> 95970851503232

                                                                  🛈 DocStrings

                                                                  Bases: AnnotatedObject

                                                                  Base request model.

                                                                  Source code in src/aclientp/schema/base.py
                                                                  class Response(AnnotatedObject):
                                                                      """Base request model."""
                                                                  

                                                                  :fa-brands-github: Show source on GitHub