MCPcopy Index your code
hub / github.com/CopilotKit/CopilotKit / createToolResultMessage

Function createToolResultMessage

packages/core/src/__tests__/test-utils.ts:173–184  ·  view source on GitHub ↗
(
  toolCallId: string,
  content: string,
  overrides: MessageOverrides = {},
)

Source from the content-addressed store, hash-verified

171}
172
173export function createToolResultMessage(
174 toolCallId: string,
175 content: string,
176 overrides: MessageOverrides = {},
177): Message {
178 return createMessage({
179 role: "tool",
180 content,
181 toolCallId,
182 ...overrides,
183 });
184}
185
186export function getAssistantMessage(
187 message: Message | undefined,

Callers 1

Calls 1

createMessageFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…