Skip to content

Commit 0c0e15d

Browse files
authored
Merge pull request #1054 from modelcontextprotocol/claude/issue-1053-20260204-1234
fix: display tool title field in Inspector UI
2 parents 5adaff4 + f28c64f commit 0c0e15d

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

client/src/components/ToolsTab.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ const ToolsTab = ({
173173
<IconDisplay icons={(tool as WithIcons).icons} size="sm" />
174174
</div>
175175
<div className="flex flex-col flex-1 min-w-0">
176-
<span className="truncate">{tool.name}</span>
176+
<span className="truncate">{tool.title || tool.name}</span>
177177
<span className="text-sm text-gray-500 text-left line-clamp-2">
178178
{tool.description}
179179
</span>
@@ -196,7 +196,9 @@ const ToolsTab = ({
196196
/>
197197
)}
198198
<h3 className="font-semibold">
199-
{selectedTool ? selectedTool.name : "Select a tool"}
199+
{selectedTool
200+
? selectedTool.title || selectedTool.name
201+
: "Select a tool"}
200202
</h3>
201203
</div>
202204
</div>

0 commit comments

Comments
 (0)