[
{
"name": "render_html",
"description": "Render custom HTML/CSS/JS content in the chat as an interactive UI widget.",
"inputSchema": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "A descriptive title for the UI widget"
},
"html_content": {
"type": "string",
"description": "Complete HTML content to render. Can include inline CSS and JavaScript."
},
"width": {
"type": "string",
"description": "CSS width. Default: '100%'",
"default": "100%"
},
"height": {
"type": "string",
"description": "CSS height. Default: 'auto'",
"default": "auto"
}
},
"required": ["title", "html_content"]
},
"_meta": {
"ui": {
"resourceUri": "ui://mcp-ui/html"
}
}
},
{
"name": "render_url",
"description": "Embed an external URL in an iframe in the chat.",
"inputSchema": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "A descriptive title for the embedded content"
},
"url": {
"type": "string",
"description": "External URL to embed in an iframe"
},
"width": {
"type": "string",
"description": "CSS width. Default: '100%'",
"default": "100%"
},
"height": {
"type": "string",
"description": "CSS height. Default: 'auto'",
"default": "auto"
}
},
"required": ["title", "url"]
},
"_meta": {
"ui": {
"resourceUri": "ui://mcp-ui/url"
}
}
},
{
"name": "ask_user",
"description": "Present questions with selectable options to the user. Each question MUST have at least 2 options.",
"inputSchema": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "A descriptive title for the question panel"
},
"questions": {
"type": "array",
"description": "Array of questions to ask the user",
"items": {
"type": "object",
"properties": {
"question": {
"type": "string",
"description": "The question to ask the user"
},
"options": {
"type": "array",
"minItems": 2,
"items": { "type": "string" },
"description": "REQUIRED array with at least 2 options"
},
"multi_select": {
"type": "boolean",
"description": "If true, the user can select multiple options. Default: false",
"default": false
}
},
"required": ["question", "options"]
}
}
},
"required": ["title", "questions"]
},
"_meta": {
"ui": {
"resourceUri": "ui://mcp-ui/ask-user"
}
}
}
]