RequestPermissionRequest
Base classes¶
| Name | Children | Inherits |
|---|---|---|
| BaseAgentRequest aclientp.schema.agent_requests Base class for all agent requests. |
⋔ Inheritance diagram¶
graph TD
95970861033440["agent_requests.RequestPermissionRequest"]
95970861850336["agent_requests.BaseAgentRequest"]
95970858197488["base.Request"]
95970862258240["base.AnnotatedObject"]
95970862254416["base.Schema"]
95970851503232["main.BaseModel"]
125067848591872["builtins.object"]
95970861850336 --> 95970861033440
95970858197488 --> 95970861850336
95970862258240 --> 95970858197488
95970862254416 --> 95970862258240
95970851503232 --> 95970862254416
125067848591872 --> 95970851503232
🛈 DocStrings¶
Bases: BaseAgentRequest
Request for user permission to execute a tool call.
Sent when the agent needs authorization before performing a sensitive operation.
See protocol docs: Requesting Permission
Source code in src/aclientp/schema/agent_requests.py
options
instance-attribute
¶
options: Sequence[PermissionOption]
Available permission options for the user to choose from.
tool_call
instance-attribute
¶
tool_call: ToolCallUpdate
Details about the tool call requiring permission.