Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/janhq/jan
/ tool.tsx
File
tool.tsx
web-app/src/components/ai-elements/tool.tsx:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
/* eslint-disable react-refresh/only-export-components */
2
import { useControllableState } from
'@radix-ui/react-use-controllable-state'
3
import {
4
Collapsible,
Callers
nothing calls this directly
Calls
12
cn
Function · 0.90
useTranslation
Function · 0.90
parseCitationsFromToolOutput
Function · 0.90
setIsOpen
Function · 0.85
useTool
Function · 0.85
t
Function · 0.85
getStatusText
Function · 0.70
join
Method · 0.65
parse
Method · 0.45
isArray
Method · 0.45
filter
Method · 0.45
map
Method · 0.45
Tested by
no test coverage detected