MCPcopy Create free account
hub / github.com/Ark0N/Codeman / emitToolResult

Method emitToolResult

src/subagent-watcher.ts:251–275  ·  view source on GitHub ↗

* Process a tool_result content block: look up pending tool call, emit tool_result event.

(
    content: { tool_use_id: string; content?: string | Array<{ type: string; text?: string }>; is_error?: boolean },
    agentId: string,
    sessionId: string,
    timestamp: string
  )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

_processUserContentMethod · 0.95

Calls 4

getMethod · 0.45
deleteMethod · 0.45
emitMethod · 0.45

Tested by

no test coverage detected