Skip to content

AcceptElicitationResponse

Base classes

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

⋔ Inheritance diagram

graph TD
  95970869149136["elicitation.AcceptElicitationResponse"]
  95970868359040["base.AnnotatedObject"]
  95970855946400["base.Schema"]
  95970851503232["main.BaseModel"]
  125067848591872["builtins.object"]
  95970868359040 --> 95970869149136
  95970855946400 --> 95970868359040
  95970851503232 --> 95970855946400
  125067848591872 --> 95970851503232

🛈 DocStrings

Bases: AnnotatedObject

The user accepted and provided content.

Source code in src/aclientp/schema/v2/elicitation.py
class AcceptElicitationResponse(AnnotatedObject):
    """The user accepted and provided content."""

    action: Literal["accept"] = Field(default="accept", init=False)

    content: dict[str, ElicitationContentValue] | MISSING | None = MISSING
    """The content, matching the requested schema."""

content class-attribute instance-attribute

content: dict[str, ElicitationContentValue] | MISSING | None = MISSING

The content, matching the requested schema.

:fa-brands-github: Show source on GitHub