> ## Documentation Index
> Fetch the complete documentation index at: https://docs.roomote.dev/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Start new users at /index, then /self-hosting to choose and prepare a host, including home networks at /homelab or infrastructure providers at /self-hosting/platforms. Continue through /first-task. Use Local development only when the user intends to modify Roomote itself.
> When an agent is asked to follow /self-hosting or install Roomote autonomously, read and follow /self-hosting/agent-installation as the normative automation contract even though it is intentionally hidden from side navigation.
> Use the one-command Linux installer for both evaluation and production. On macOS or Windows, create or reuse a full Ubuntu VM and run the same installer inside it; do not replace the installer with the repository's development Compose files.
> For a local VM, prepare a stable public HTTPS domain before connecting providers. Use a named tunnel with internal origin TLS or public DNS with ports 80/443 forwarded to the Linux host. Cloudflare Quick Tunnels do not support the Server-Sent Events Roomote uses; do not use them for the complete setup path.
> Run automated installs with --no-setup-url so the bootstrap token is not captured in the agent transcript. Let the user obtain the setup URL in a trusted terminal, enter credentials, and complete browser authorization.
> Proceed through safe, reversible setup and pause for privileged host or VM changes, public tunnel creation, credentials or browser authorization, durable external-account changes, destructive operations, existing-state conflicts, or when no documented safe default applies.
> A setup is not complete when the services merely start. Follow /first-task to verify sign-in, repository sync, and a real Roomote task that can clone and run a command. A saved environment is optional for a repository task. Verify branch or pull-request delivery and previews when configured; Slack and other communications providers are optional.

# File attachments

> Attach files that Roomote can read directly in chat and the web app.

Roomote can read supported file attachments from the web app and from chat
threads where you start or continue a Roomote task.

Support varies by chat provider. The web app, Slack, and Telegram can read the
formats below. Discord supports images and a smaller text and code subset, but
not Office documents, PDFs, or presentations. Microsoft Teams currently
supports image attachments only. Slack can also describe one supported video
attachment per message.

Attachments sent to a session stay available as conversation context. When Roomote
delegates work or follows up with a coding task, it can forward the relevant
supported attachments with the instruction.

Use attachments when the file itself is the fastest way to show the problem: a
bug report export, a config file, a markdown handoff, a spreadsheet, or a PDF
from a customer.

Attachments work best when they are paired with a clear ask. Tell Roomote what
the file is, which part matters, and what you want back: an explanation, a
plan, a patch, or a follow-up question.

## What works well

Attach files when you want Roomote to:

* inspect structured data without pasting it into the message
* read logs, config files, or source snippets as-is
* work from a spreadsheet or report export
* use screenshots and other images as direct visual context

If the attachments are large, Roomote reads them in the order you attach them
and applies a shared text budget so the task stays responsive. Very large
earlier files can leave later files included by name only.

Text-extracted files are limited to 8 MB each. Image, video, and provider
transport limits vary by surface.

## Limits and API errors

A message can include up to 20 files and up to 16 MiB of decoded attachment
data in total. The complete HTTP request body, including base64 encoding and
other message fields, is capped at 24 MiB.

Direct API requests that exceed the file count or decoded-data limit return
HTTP 400 with `{"error":"maximum 20 attachments"}` or
`{"error":"attachments exceed the 16 MiB total limit"}`, respectively. A
request body over 24 MiB returns HTTP 413 with
`{"error":"Message payload is too large"}`.

## Accepted file types

| Content type | File types |
| - | - |
| Pure text | `.txt`, `.md`, `.markdown` |
| Structured text | `.json`, `.har`, `.yaml`, `.yml`, `.xml`, `.log`, `.conf`, `.config`, `.ini`, `.env`, `.sh`, `.bash`, `.zsh`, `.toml`, `.properties` |
| Code | `.html`, `.htm`, `.css`, `.js`, `.jsx`, `.ts`, `.tsx`, `.py`, `.r`, `.ipynb`, `.rb`, `.go`, `.rs`, `.java`, `.c`, `.h`, `.cpp`, `.cc`, `.cxx`, `.hpp`, `.sql` |
| Spreadsheets | `.csv`, `.tsv`, `.xlsx`, `.xls` |
| Documents | `.pdf`, `.docx` |
| Presentations | `.pptx` |

An attached `.r` script can also drive an environment recipe: Roomote detects
the direct packages it uses and proposes an `r-bioconductor` environment, then
resolves those packages from the official CRAN and Bioconductor repositories.
See the [environment lifecycle](https://docs.roomote.dev/environments.md#environment-lifecycle).

\| Images          | `.png`, `.jpg`, `.jpeg`, `.gif`, `.webp`, `.svg`                                                                                              |

## How Roomote uses them

HTTP Archive (`.har`) files are read as JSON text in sessions and tasks, including
when the browser reports the file as `application/json` or
`application/octet-stream`. Attach an export to investigate request URLs,
response statuses, headers, and timings. HAR files use the existing 8 MB
per-file limit and shared 200,000-character attachment text budget; large
exports may be truncated. Supported chat providers and Roomote MCP use the
same text extraction path.

Text, code, spreadsheet, document, and presentation files are read into the
task as attachment context. Images are passed through as image inputs so
Roomote can inspect them directly. `.svg` files are normally read as text
markup, but Discord treats an SVG reported with the `image/svg+xml` content type
as an image input.

Images never change which model handles your request. When the active model
accepts image input, it sees the image itself. When it does not, Roomote keeps
that model in charge and has the configured vision model (or, failing that,
the helper or coding model) describe the image on request, the same way a
coding task delegates visual inspection to a hidden subagent.

Audio transcription and video descriptions can use the separate **Audio and
video model** control in **Settings > Models**. It defaults to **Same as coding
model**. The selected or inherited audio and video model is authoritative for
both inputs. Fast sessions receive the files directly when their session model
is that model; otherwise, the audio and video model processes them separately.

Automatic audio transcription for Slack, Discord, Telegram, and Microsoft Teams
uses the deployment audio and video model. A per-task Audio and video override
does not change which model transcribes those incoming chat attachments.

That means you can ask things like:

* "Compare this export to the expected format and tell me what is broken."
* "Read this config and explain why the service is failing."
* "Check this customer PDF and draft the fix plan."
* "Look at this screenshot and tell me what UI state it shows."

## Open and share artifacts

Artifact creation results can include two links:

* `viewUrl` opens the artifact in its owning task or session, where you can
  continue to use the surrounding workspace context.
* `standaloneViewUrl` opens the document, image, or file on its own page. Use it
  when someone needs a direct link to the artifact without navigating through
  the parent task or session.

Both links remain inside Roomote's authenticated access boundary. The recipient
must be signed in to the deployment and already have permission to view the
owning task or session; a link does not make the artifact public or grant new
access. The standalone page also supports available artifact versions and a
link back to the owning task or session when that context is useful.

When an agent needs to inspect an existing artifact, it can use the
`open_artifact` capability with the exact owning task or session and stored
path. The capability currently returns bounded content for supported text
artifacts up to 64 KiB; binary or oversized artifacts should be opened through
their artifact link or downloaded instead. Access is checked against the
owning task or session before content is read.

## Videos from Roomote

For new screencasts, Roomote prefers final MP4 (H.264) artifacts optimized for
playback while retaining the native recording. Visual proof may use the original
WebM when conversion tools or time are unavailable, or conversion fails. This
preference does not convert arbitrary uploads or replace existing artifacts.

Task recordings remain available as uploaded artifacts. In Slack, you can ask
Roomote to share a selected recording as a native video file, including one from
an earlier task in the current session. This requires the Slack app's
`files:write` permission; existing installations need reinstall or workspace
admin reapproval after the scope is added. See
[Slack video replies](https://docs.roomote.dev/providers/communications/slack.md#video-replies)
for recording ownership and size limits.

WebM recordings are converted to MP4 for Slack delivery without replacing the
original artifact. If conversion or upload fails, or native delivery is not
available on the current surface, Roomote shares a direct link to open the file
on its own page, without an error or unavailability explanation. Roomote only
describes a video as attached when native delivery succeeds.

## Best practices

* Attach the smallest file that shows the issue clearly.
* Add one sentence explaining what you want Roomote to do with the file.
* Remove secrets or credentials before attaching files unless your deployment
  is explicitly configured to handle that material.
* For spreadsheet or report exports, mention the tab, column, or row range
  that matters most.
* For PDFs and documents, call out the section or page if you already know it.

## Common issues

* **The attachment is huge.** Trim it down or export just the relevant sheet,
  log window, or section. Text-extracted files larger than 8 MB are rejected.
* **The attachment is a format not listed here.** Export it as one of the
  accepted formats above.
* **The task still needs more context.** Add a short prompt that explains the
  question, expected behavior, or failure you want Roomote to investigate.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.