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

Function toolStartLine

packages/opencode/test/lib/llm-server.ts:99–115  ·  view source on GitHub ↗
(id: string, name: string)

Source from the content-addressed store, hash-verified

97}
98
99function toolStartLine(id: string, name: string) {
100 return chunk({
101 delta: {
102 tool_calls: [
103 {
104 index: 0,
105 id,
106 type: "function",
107 function: {
108 name,
109 arguments: "",
110 },
111 },
112 ],
113 },
114 })
115}
116
117function toolArgsLine(value: string) {
118 return chunk({

Callers 2

toolMethod · 0.85
pendingToolMethod · 0.85

Calls 1

chunkFunction · 0.85

Tested by

no test coverage detected