Skip to content

PermissionOption

Base classes

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

⋔ Inheritance diagram

graph TD
  95970861857008["tool_call.PermissionOption"]
  95970862258240["base.AnnotatedObject"]
  95970862254416["base.Schema"]
  95970851503232["main.BaseModel"]
  125067848591872["builtins.object"]
  95970862258240 --> 95970861857008
  95970862254416 --> 95970862258240
  95970851503232 --> 95970862254416
  125067848591872 --> 95970851503232

🛈 DocStrings

Bases: AnnotatedObject

An option presented to the user when requesting permission.

Source code in src/aclientp/schema/tool_call.py
class PermissionOption(AnnotatedObject):
    """An option presented to the user when requesting permission."""

    kind: PermissionKind
    """Hint about the nature of this permission option."""

    name: str
    """Human-readable label to display to the user."""

    option_id: str
    """Unique identifier for this permission option."""

kind instance-attribute

kind: PermissionKind

Hint about the nature of this permission option.

name instance-attribute

name: str

Human-readable label to display to the user.

option_id instance-attribute

option_id: str

Unique identifier for this permission option.

:fa-brands-github: Show source on GitHub