Document the send tool in the README

This commit is contained in:
EugeneTes
2026-09-08 12:32:59 +00:00
parent 0a40a6b5fa
commit 311bdb2eed

View File

@@ -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 <id>`, `/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.