Skip to content

SkillReference

Base classes

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

⋔ Inheritance diagram

graph TD
  95970868590480["content.SkillReference"]
  95970868359040["base.AnnotatedObject"]
  95970855946400["base.Schema"]
  95970851503232["main.BaseModel"]
  125067848591872["builtins.object"]
  95970868359040 --> 95970868590480
  95970855946400 --> 95970868359040
  95970851503232 --> 95970855946400
  125067848591872 --> 95970851503232

🛈 DocStrings

Bases: AnnotatedObject

UNSTABLE: A skill the user invokes with a prompt.

Names a skill entry of the session's command list. Requires the skill prompt capability.

Source code in src/aclientp/schema/v2/content.py
class SkillReference(AnnotatedObject):
    """**UNSTABLE**: A skill the user invokes with a prompt.

    Names a ``skill`` entry of the session's command list. Requires the ``skill``
    prompt capability.
    """

    type: Literal["skill"] = Field(default="skill", init=False)

    name: str
    """The ``name`` of a ``skill`` entry in the session's current command list."""

name instance-attribute

name: str

The name of a skill entry in the session's current command list.

:fa-brands-github: Show source on GitHub