resources/list
List available resources such as widgets and UI components.
Resources use URIs with the format ui://widget/{widget-name}.html. Use the resources/read method to retrieve the actual content of a resource.
Request
{
"jsonrpc": "2.0",
"id": 4,
"method": "resources/list",
"params": {}
}
Response
{
"jsonrpc": "2.0",
"id": 4,
"result": {
"resources": [
{
"uri": "ui://widget/kitchen-sink-lite.html",
"name": "Kitchen Sink Lite Widget",
"description": "Demo widget for testing ChatGPT Apps SDK capabilities",
"mimeType": "text/html+skybridge"
},
{
"uri": "ui://widget/shop-widget.html",
"name": "Shop Widget",
"description": "Flexible widget for displaying shop offerings with configurable UI",
"mimeType": "text/html+skybridge"
}
]
}
}