Tool-kind mapPro
Raw tool names from any agent (Claude Code, Codex, OpenCode, MCP) mapped to a kind, an icon and running / done verbs, with exact-name and prefix overrides.
oxyn add tool-kind-map| Tool name | Kind | Running | Done |
|---|---|---|---|
| db_query | Generic | Working | Ran |
| Read | Read | Reading | Read |
| Edit | Edit | Editing | Edited |
| MultiEdit | Edit | Editing | Edited |
| Write | Create | Writing | Wrote |
| Glob | List | Listing | Listed |
| Grep | Search | Searching | Searched |
| Bash | Shell | Running | Ran |
| WebFetch | Fetch | Fetching | Fetched |
| WebSearch | WebSearch | Searching the web | Searched the web |
| TodoWrite | Plan | Planning | Updated plan |
| Task | Subagent | Delegating | Delegated |
The preview stays free for everyone. Pro opens the code of every Pro component, screen, agent-app template, block and kit, plus the Pro CLI.
Rendered from Rust at build time · goes live when visible
When to use
- One map from raw tool names of any agent (Claude Code MultiEdit, Codex apply_patch / shell, OpenCode todowrite, Cline execute_command, MCP mcp__server__tool) to a ToolKind, an icon and present / past verbs (Reading / Read), with exact-name and prefix overrides a host adds (with, with_prefix).
- MCP names split into server and tool.
- Every tool component reads it.
When not to use
- An agent asks before it acts: use Approval Card instead.
- Several open requests in one card: use Approval pager instead.
- An agent's question in its own card above the composer: use Decision Card instead.
Installation
Tool-kind map is part of Oxyn Pro; the preview is free. Pro items install with the oxyn CLI once your licence is signed in; until then Pro members copy the code from this page.
oxyn add tool-kind-mapUsage
The preview is free. Pro opens the code of every Pro component, screen and template.
Examples
Claude code
Claude Code names.
| Tool name | Kind | Running | Done |
|---|---|---|---|
| db_query | Generic | Working | Ran |
| Read | Read | Reading | Read |
| Edit | Edit | Editing | Edited |
| MultiEdit | Edit | Editing | Edited |
| Write | Create | Writing | Wrote |
| Glob | List | Listing | Listed |
| Grep | Search | Searching | Searched |
| Bash | Shell | Running | Ran |
| WebFetch | Fetch | Fetching | Fetched |
| WebSearch | WebSearch | Searching the web | Searched the web |
| TodoWrite | Plan | Planning | Updated plan |
| Task | Subagent | Delegating | Delegated |
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Codex
Codex names.
| Tool name | Kind | Running | Done |
|---|---|---|---|
| shell | Shell | Running | Ran |
| apply_patch | Edit | Editing | Edited |
| update_plan | Plan | Planning | Updated plan |
| web_search | WebSearch | Searching the web | Searched the web |
| view_image | Read | Reading | Read |
| local_shell | Shell | Running | Ran |
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Mcp
MCP names split into server and tool.
| Tool name | Kind | Running | Done |
|---|---|---|---|
| mcp__github__create_issue | Mcp · github | Calling | Called |
| mcp__linear__list_issues | Mcp · linear | Calling | Called |
| mcp__postgres__query | Mcp · postgres | Calling | Called |
| mcp__slack__post_message | Mcp · slack | Calling | Called |
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
API reference
ToolKindLegend
| Prop | Type | Default | Description |
|---|---|---|---|
namesrequired | Vec<String> | — | Raw names to show. |
Read from the Rust signature and doc comments.
Keyboard interactions
| Key | Action |
|---|---|
| — | Read-only table |
Accessibility
- A plain table with header cells.
From the spec
- A plain table.
Motion & interaction
Timing
- Reduced motion: no entrance rise or row stagger, no shimmer (static muted text), chevrons and the card morph jump to their end state.
Responsive behaviour
- Cells keep one line; the table scrolls sideways when narrow.
Edge cases (spec)
- Scrolls sideways when narrow.
Notes for AI
- Import
ToolKindLegendfromoxyn_dioxusand includeSTATUS_INDICATOR_CSSplus the token stylesheet once. - There is no GPUI version yet; use the Dioxus component.
- Props to set first:
names. - Keep its states and timings as they ship; restyle it through the CSS variables rather than by hand.