get_ui_snapshot
Return the recent preview tool response snapshot for a confirmation UI iframe so embedded widgets can restore their state when host tool-result notifications aren't delivered.
Instructions
[Internal / MCP Apps] 確認 UI(iframe)向けに、直近の preview 系ツール応答のスナップショットを返す。 ホストがツール結果通知(ui/notifications/tool-result)を配信しない場合の UI 自己復元用。 LLM が会話の応答生成のために呼ぶ必要はない(preview 系ツールの応答に同じ内容が含まれる)。
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": {
"resource_uri": "<resource_uri>"
},
"name": "get_ui_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resource_uri | Yes | スナップショットを取得する MCP Apps リソース URI(ウィジェット自身の URI を指定する) | |
| confirmation_token | No | [Internal] 確認 UI が受け取り済みであることをサーバーに伝えるための値。LLM は指定しない |