MCPcopy
hub / github.com/continuedev/continue / createToolMessage

Function createToolMessage

core/llm/countTokens.test.ts:201–208  ·  view source on GitHub ↗
(
    content: string,
    toolCallId: string,
  )

Source from the content-addressed store, hash-verified

199 });
200
201 const createToolMessage = (
202 content: string,
203 toolCallId: string,
204 ): ChatMessage => ({
205 role: "tool",
206 content,
207 toolCallId,
208 });
209
210 const createToolCall = (
211 id: string,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected