MCPcopy Create free account
hub / github.com/ResearAI/AutoFigure / toggleExpanded

Function toggleExpanded

frontend/components/chat-message-display.tsx:408–413  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

406 const toolName = part.type?.replace("tool-", "")
407
408 const toggleExpanded = () => {
409 setExpandedTools((prev) => ({
410 ...prev,
411 [callId]: !isExpanded,
412 }))
413 }
414
415 const getToolDisplayName = (name: string) => {
416 switch (name) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected