From 311bdb2eeda7a3c976a9ecf5e6ecdab3d78b9a28 Mon Sep 17 00:00:00 2001 From: EugeneTes Date: Tue, 8 Sep 2026 12:32:59 +0000 Subject: [PATCH] Document the send tool in the README --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 9a1bc6c..83fbc35 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,8 @@ Send text, photos, voice notes, or files. Photos go to the model as images. Voic While the agent works you see one `⚙️ Working…` message that updates with tool activity, then the answer. Send another message while it works and it is queued for the current run (you get a 👀 reaction). +It can also send files back. When you ask for a screenshot, a generated file, or a rendered report, the agent uses its `send` tool to attach the file directly — photos appear inline, other files arrive as documents. + Commands: `/status`, `/new`, `/stop`, `/jobs`, `/cancel `, `/compact`. ## Scheduling @@ -99,3 +101,4 @@ Run `npm run dev` with a real bot and walk through every line: 15. With Playwright still enabled, ask "screenshot https://example.com and send it to me" → an image attachment arrives. 16. Ask "run this on example.com: `async (page) => { await page.goto('https://example.com'); return await page.title(); }`" → reply says `Example Domain`. Exercises `browser_run_code_unsafe`. 17. Restart with `PLAYWRIGHT_ENABLED=false`. Startup log shows `playwright tools disabled`; no `browser_*` tools appear in the model's tool list. +18. Ask "write a short poem to poem.txt and send it to me" → a `.txt` document attachment arrives with the poem inside, and the reply confirms with one line.