McpClientToolCallPacket

data class McpClientToolCallPacket(val toolName: String, val isError: Boolean, val summary: String) : CustomPacketPayload(source)

C2S packet sent when the client MCP endpoint processes a tool call.

Constructors

Link copied to clipboard
constructor(toolName: String, isError: Boolean, summary: String)

Types

Link copied to clipboard
object Companion

Packet type and codec constants.

Properties

Link copied to clipboard

whether the tool call failed

Link copied to clipboard

short one-line result summary (may be blank)

Link copied to clipboard

stable MCP tool identifier

Functions

Link copied to clipboard
open override fun type(): CustomPacketPayload.Type<out CustomPacketPayload>