MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / createToolResultStopMessage

Function createToolResultStopMessage

source code/utils/messages.ts:624–633  ·  view source on GitHub ↗
(
  toolUseID: string,
)

Source from the content-addressed store, hash-verified

622}
623
624export function createToolResultStopMessage(
625 toolUseID: string,
626): ToolResultBlockParam {
627 return {
628 type: 'tool_result',
629 content: CANCEL_MESSAGE,
630 is_error: true,
631 tool_use_id: toolUseID,
632 }
633}
634
635export function extractTag(html: string, tagName: string): string | null {
636 if (!html.trim() || !tagName.trim()) {

Callers 2

runToolUseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected