MCPcopy
hub / github.com/wavetermdev/waveterm / AiMsgToolInputAvailable

Method AiMsgToolInputAvailable

pkg/web/sse/ssehandler.go:451–459  ·  view source on GitHub ↗
(toolCallId, toolName string, input json.RawMessage)

Source from the content-addressed store, hash-verified

449}
450
451func (h *SSEHandlerCh) AiMsgToolInputAvailable(toolCallId, toolName string, input json.RawMessage) error {
452 resp := map[string]interface{}{
453 "type": AiMsgToolInputAvailable,
454 "toolCallId": toolCallId,
455 "toolName": toolName,
456 "input": json.RawMessage(input),
457 }
458 return h.WriteJsonData(resp)
459}
460
461func (h *SSEHandlerCh) AiMsgStartStep() error {
462 resp := map[string]interface{}{

Callers 1

handleAnthropicEventFunction · 0.80

Calls 1

WriteJsonDataMethod · 0.95

Tested by

no test coverage detected