Skip to main content

render_pinned_resources_section

Function render_pinned_resources_section 

pub fn render_pinned_resources_section(blocks: &[PinnedResourceBlock]) -> String
Expand description

Render attributed pinned-resource blocks into the ## Pinned MCP Resources prompt section. Empty input renders to an empty string, so a holder whose last block was pruned emits no section at all.