MCPcopy Create free account
hub / github.com/codehamr/codehamr / runToolCall

Function runToolCall

internal/tui/commands.go:57–61  ·  view source on GitHub ↗

runToolCall executes one tool call off the UI goroutine. parent is the per-turn root: Ctrl+C aborts the tool mid-run, and the toolResultMsg carries that ctx so Update can drop it if the turn has moved on. No outer timeout: bash owns its model-set per-call timeout (capped at 3600s by the schema), wr

(parent context.Context, call chmctx.ToolCall)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Calls 1

ExecuteFunction · 0.92