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.
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 |