Show view
show_viewDraw a view in the conversation for hosts that show MCP Apps: a saved view by artifact_id, or view source you wrote after calling view_components. The view runs its own Queries through the host, so call data tools first only to learn the shapes they return. Saves nothing; call generate_view to keep it.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "show_view"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | The view's saved state values, keyed by name. | |
| title | No | A short name for an unsaved view. | |
| source | No | The whole view in the view language, one statement per line. | |
| artifact_id | No | A saved view from generate_view or list_artifacts. |