function resourceReadFigure(host) {
ensureStyles();
var shell = document.createElement('div');
shell.className = 'mf-shell';
shell.innerHTML = [
'
Reading a Resource one URI, two lawful outcomes
',
'
',
'',
'
',
'
A URI template expands into a concrete URI, and resources/read sanitizes it against the server\'s root before any lookup. A resource that exists returns a complete result carrying contents, ttlMs, and cacheScope. A resource that does not exist, or a path that tries to climb outside the root, returns JSON-RPC error -32602 naming the requested URI in data.uri, never a successful result with an empty contents array.