Expand description
Agent-to-client requests (ApprovalRequest, ToolCallRequest, etc.).
Re-exports§
pub use crate::protocol::event::ApprovalResponseKind;
Structs§
- Approval
Request - Approval request sent by the agent.
- Approval
Response - Response to an
ApprovalRequest. - Hook
Request - Hook request sent by the agent.
- Hook
Response - Response to a
HookRequest. - Question
Item - A single question item.
- Question
Option - An option for a question.
- Question
Request - Question request sent by the agent.
- Question
Response - Response to a
QuestionRequest. - Tool
Call Request - Tool call request sent by the agent.
- Tool
Call Response - Response to a
ToolCallRequest.
Enums§
- Request
- A request from the agent to the client, sent via the
requestmethod. - Source
Kind - Source of an approval request.