---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://segmentstream.com/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

# Attach files while approving an agent draft

Reviewers can add readable files to an edited draft before it goes out.

A teammate reviewing your agent's proposed email can now attach a file while editing and approving the draft. The delivered message records the final text, recipients, files and the teammate who decided.

Tell the coding agent you build with: “In our draft review screen, let reviewers choose files from our workspace when they edit and approve a reply.” Your app supplies the picker and upload flow. The reviewer must be signed in, allowed to post in that chat and able to read each new file. If a file is unavailable or the channel's attachment limit is exceeded, approval is refused before delivery; the draft remains for review.
