Display Master Detail
display_master_detailDisplay a master-detail view with a list of items and corresponding details, supporting tables, images, lists, and custom HTML content for browsing and comparing data.
Instructions
Display a master-detail view with a list of items on the left/top and details on the right/bottom. The detail panel can show tables, images, lists, or custom text/HTML content. Perfect for browsing collections, comparing items, or navigating hierarchical data.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"masterItems": "<masterItems>",
"detailContents": "<detailContents>"
},
"name": "display_master_detail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Optional title for the master-detail view | |
| masterItems | Yes | Array of items to display in the master list | |
| detailContents | Yes | Map of item IDs to their detail content. Each key should match a masterItems ID. | |
| defaultSelectedId | No | ID of item to select by default | |
| masterWidth | No | Width of master panel in pixels (default: 300) | |
| orientation | No | Layout orientation: horizontal (side-by-side) or vertical (stacked) | horizontal |