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

Struct ToolUseBlock

pkg/types/message.go:109–114  ·  view source on GitHub ↗

ToolUseBlock 工具使用块

Source from the content-addressed store, hash-verified

107
108// ToolUseBlock 工具使用块
109type ToolUseBlock struct {
110 ID string `json:"id"`
111 Name string `json:"name"`
112 Input map[string]any `json:"input"`
113 Caller *ToolCaller `json:"caller,omitempty"` // PTC: 调用者信息
114}
115
116// ToolCaller 工具调用者信息 (PTC 支持)
117type ToolCaller struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected