Expand description
JSON-RPC 2.0 protocol types for external decision communication.
Messages flow over stdin (tap-http → child) and stdout (child → tap-http) using newline-delimited JSON.
Structs§
- Decision
Request Params - Decision request sent to external process
- Decision
Response - Decision response from external process
- Event
Notification Params - Event notification sent to external process
- Initialize
Capabilities - Initialize
Params - Initialize message sent when the external process starts
- Json
RpcError - JSON-RPC 2.0 error object
- Json
RpcError Response - JSON-RPC 2.0 error response
- Json
RpcNotification - JSON-RPC 2.0 notification (no
id— fire-and-forget) - Json
RpcRequest - JSON-RPC 2.0 request (has an
id— expects a response) - Json
RpcResponse - JSON-RPC 2.0 success response
- Ready
Params - Ready notification from external process
Enums§
- Incoming
Message - A message read from stdout can be a request (tool call) or a notification