MCPcopy Create free account
hub / github.com/astercloud/aster / ProgressToolIntermediateEvent

Struct ProgressToolIntermediateEvent

pkg/types/events.go:139–145  ·  view source on GitHub ↗

ProgressToolIntermediateEvent 工具中间结果事件

Source from the content-addressed store, hash-verified

137
138// ProgressToolIntermediateEvent 工具中间结果事件
139type ProgressToolIntermediateEvent struct {
140 Call ToolCallSnapshot `json:"call"`
141 Label string `json:"label,omitempty"`
142 Data any `json:"data,omitempty"`
143 // UI 可选的 UI 描述,用于工具输出的结构化渲染
144 UI *AsterUIMessage `json:"ui,omitempty"`
145}
146
147func (e *ProgressToolIntermediateEvent) Channel() AgentChannel { return ChannelProgress }
148func (e *ProgressToolIntermediateEvent) EventType() string { return "tool:intermediate" }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected