Create Shareable Pastes from OpenClaw with AgentPatch

OpenClaw lets you run agent tasks from Telegram. It researches things, writes things, answers things — and most of that happens in a chat window. When the output is something worth sharing beyond the conversation, there’s no native way to get it into a link. The AgentPatch Paste tool adds that: OpenClaw can upload content and return a public URL without leaving the chat.

Why This Matters

Output that stays in a chat thread is only accessible to people in that thread. If you want to share a research summary, a data report, or a formatted document with someone outside Telegram — or reference it from another tool — you need it at a URL.

The Paste tool gives OpenClaw a way to publish content directly. It accepts text/plain, text/html, and application/json. Every paste expires automatically, up to 7 days. You set the TTL per call and the content disappears on schedule. No account needed to read the link, no hosting to manage. It costs 25 credits per upload.

Setup

Add AgentPatch to ~/.openclaw/openclaw.json:

{
  "mcp": {
    "servers": {
      "agentpatch": {
        "transport": "streamable-http",
        "url": "https://agentpatch.ai/mcp",
        "headers": {
          "Authorization": "Bearer YOUR_API_KEY"
        }
      }
    }
  }
}

Replace YOUR_API_KEY with your actual key from the AgentPatch dashboard. Restart OpenClaw and it discovers all AgentPatch tools automatically.

Example

You’re using OpenClaw to research a topic and want to share what it finds with a colleague who isn’t on Telegram.

“Research the current state of open-source LLM fine-tuning frameworks. Compare the top 3 by ease of use, performance, and community activity.”

OpenClaw works through the research and produces a detailed comparison. You ask:

“Create a paste of that comparison and send me the link.”

OpenClaw calls the AgentPatch Paste tool with the research output as text/plain and a 3-day expiry. It returns:

https://agentpatch.ai/paste/a1b2c3d4e5f6

OpenClaw sends you the link in the chat. You forward it to your colleague. They open it in a browser, no signup required, and it disappears after 3 days.

Now you want the same data structured for a report:

“Reformat that comparison as a JSON array where each entry has ‘name’, ‘ease_of_use’, ‘performance’, ‘community’, and ‘notes’. Upload it as a paste.”

OpenClaw reformats the data, uploads it with content type application/json, and sends you a second link. That URL is ready to fetch programmatically if your reporting pipeline needs it.

You can also use Paste to share longer outputs that would be awkward in a chat message:

“Write a 500-word summary of the fine-tuning landscape for a non-technical audience and upload it as a paste. I’ll share it in our company wiki.”

OpenClaw writes the summary and uploads it. You get a clean URL to drop into your wiki or docs.

Wrapping Up

Paste turns OpenClaw output into something portable. Instead of copying text out of Telegram, you get a link you can share anywhere. The same AgentPatch connection also gives OpenClaw access to web search, email, image generation, news, and more. Visit agentpatch.ai to get your API key and see what else is in the marketplace.