MCPcopy
hub / github.com/codeaashu/claude-code / createToolResultStopMessage

Function createToolResultStopMessage

src/utils/messages.ts:622–631  ·  view source on GitHub ↗
(
  toolUseID: string,
)

Source from the content-addressed store, hash-verified

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

Callers 2

runToolUseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected