Structs§
- Agent
Connection - A connection to a separate agent process over the ACP protocol.
- Authenticate
Params - Triggers authentication on the agent side.
- Authenticate
Response - Cancel
Send Message Params - cancelSendMessage allows the client to request that the agent stop running. The agent should resolve or reject the current sendUserMessage call.
- Cancel
Send Message Response - Client
Connection - A connection to a separate client process over the ACP protocol.
- Diff
- Error
- Error
Code - Initialize
Params - Initialize sets up the agent’s state. It should be called before any other method, and no other methods should be called until it has completed.
- Initialize
Response - Method
- Plan
Entry - A single entry in the execution plan.
- Protocol
Version - Push
Tool Call Params - pushToolCall allows the agent to start a tool call when it does not need to request permission to do so.
- Push
Tool Call Response - Read
Text File Params - Read
Text File Response - Request
Tool Call Confirmation Params - Request confirmation before running a tool
- Request
Tool Call Confirmation Response - Send
User Message Params - sendUserMessage allows the user to send a message to the agent. This method should complete after the agent is finished, during which time the agent may update the client by calling streamAssistantMessageChunk and other methods.
- Send
User Message Response - Stream
Assistant Message Chunk Params - Streams part of an assistant response to the client
- Stream
Assistant Message Chunk Response - Tool
Call Id - Tool
Call Location - Update
Plan Params - Parameters for updating the current execution plan.
- Update
Plan Response - Update
Tool Call Params - updateToolCall allows the agent to update the content and status of the tool call.
- Update
Tool Call Response - Write
Text File Params - Write
Text File Response
Enums§
- AnyAgent
Request - AnyAgent
Result - AnyClient
Request - AnyClient
Result - Assistant
Message Chunk - Context
Server - Icon
- Plan
Entry Priority - Priority levels for plan entries.
- Plan
Entry Status - Status of a plan entry in the execution flow.
- Tool
Call Confirmation - Tool
Call Confirmation Outcome - Tool
Call Content - Tool
Call Status - User
Message Chunk - A part in a user message