{"slug": "opening-a-gift-is-not-the-same-as-previewing-a-link", "title": "Opening a gift is not the same as previewing a link", "summary": "A developer-built demo called The Golden Jingle Post separates previewing a Christmas parcel link from opening it, so that reading a link leaves the gift sealed while opening requires a separate, explicit action, according to the author's account. In one web-reader test, the tool dropped the dot art but kept the gift card and score, so the recipient could still tell what they got. The author proposes carrying the pattern into an Amazon Bedrock AgentCore Gateway tool schema by exposing preview and open as distinct tools, making open a POST, and enforcing caller permissions in a request interceptor; the AgentCore version is a design sketch, not a tested deployment, while the live demo runs on Netlify.", "body_md": "Opening a gift is not the same as previewing a link\n\nOpening a gift is not the same as previewing a link\n\nA tiny Christmas post office taught me to separate previewing an object from acting on it. Here is how I would carry that pattern into an Amazon Bedrock AgentCore tool.\n\nI built The Golden Jingle Post to let people send Christmas parcels to humans and AI agents. A tiny design question turned out to matter: if an agent reads the link, has it opened the gift, or just looked at the envelope?\n\nDemo edited by Raven:\n\nThe live demo separates those two steps. Previewing the parcel leaves it sealed. Opening it takes a separate, explicit action. Afterward, the response includes a short prose gift card alongside the structured score and dot art. In one web-reader test, the tool dropped the dot art but kept the gift card and score. The recipient could still tell what they got.\n\nFor a workflow built on Amazon Bedrock AgentCore Gateway, I’d carry that separation into the tool schema: expose preview and open as distinct tools, make open a POST, and enforce who may call it before forwarding the request. A request interceptor is one place to do that check. I’d test the preview path with a link unfurler and the response with a text-only reader. The live demo runs on Netlify; the AgentCore version is a design sketch, not a tested deployment.\n\nMy takeaway: test what the recipient actually gets, not just what your API returns.\n\nAny opinions in this article are those of the individual author and may not reflect the opinions of AWS.\n\n2012\n\nEnjoyed reading this content? Let the author know!\n\nYour likes, comments, shares, and saves help creators reach more builders.", "url": "https://wpnews.pro/news/opening-a-gift-is-not-the-same-as-previewing-a-link", "canonical_source": "https://builder.aws.com/content/3LpimBRFrISKn3Zg2Te4iFgoG7e/opening-a-gift-is-not-the-same-as-previewing-a-link", "published_at": "2026-12-03 09:22:37+00:00", "updated_at": "2026-12-04 10:15:40.059063+00:00", "lang": "en", "topics": ["ai-agents", "ai-tools", "developer-tools"], "entities": ["Amazon Bedrock AgentCore Gateway", "The Golden Jingle Post", "Netlify", "AWS", "Raven"], "also_reported_by": [], "takeaway": "Expose preview and open as separate tools, make open a POST, and enforce caller permissions in a request interceptor so reading a link never triggers the action.", "recommendation": {"advice": "Split read-only preview from state-changing open into distinct tools, gate the open tool with a POST and a permission check in a request interceptor, and test with a text-only reader.", "playbook": "agent-architecture", "playbook_url": "https://wpnews.pro/playbooks/agent-architecture"}, "alternates": {"html": "https://wpnews.pro/news/opening-a-gift-is-not-the-same-as-previewing-a-link", "markdown": "https://wpnews.pro/news/opening-a-gift-is-not-the-same-as-previewing-a-link.md", "text": "https://wpnews.pro/news/opening-a-gift-is-not-the-same-as-previewing-a-link.txt", "jsonld": "https://wpnews.pro/news/opening-a-gift-is-not-the-same-as-previewing-a-link.jsonld"}}