Ask a question to get started
Enter to send•Shift+Enter new line
A selectable tool item in the MCP viewer.
MCPToolItem( self, name: str, description: str, index: int, *, classes: str = '' )
Static
name
str
Tool name.
description
Full tool description.
index
int
Flat index of this tool in the list.
classes
''
CSS classes.
Toggle between collapsed and expanded view.
Re-render with correct truncation once width is known.
Re-truncate when widget width changes.
Handle click — select and toggle expand via parent screen.