Skip to main content

unknown_resource_message

Function unknown_resource_message 

Source
pub fn unknown_resource_message(uri: &str) -> String
Expand description

Agent-facing explanation when resources/read is called with an unknown URI.

GH #1228: agents denied native Read for auto memory often retry via MCP resources/read with file://…/memory/MEMORY.md and get a bare “Unknown resource”. Point them at the real surfaces instead.