MCPcopy Index your code
hub / github.com/anomalyco/opencode / runBatch

Function runBatch

packages/opencode/src/cli/cmd/run/tool.ts:435–443  ·  view source on GitHub ↗
(p: ToolProps)

Source from the content-addressed store, hash-verified

433}
434
435function runBatch(p: ToolProps): ToolInline {
436 const calls = list(dict(p.input).tool_calls).length
437 return {
438 icon: "#",
439 title: text(p.frame.state.title) || (calls > 0 ? `Batch ${calls} tool${calls === 1 ? "" : "s"}` : "Batch"),
440 mode: "block",
441 body: p.frame.status === "completed" ? text(p.frame.state.output) : undefined,
442 }
443}
444
445function lspTitle(
446 input: {

Callers

nothing calls this directly

Calls 3

listFunction · 0.70
dictFunction · 0.70
textFunction · 0.70

Tested by

no test coverage detected