File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -72,13 +72,18 @@ export type InputFile =
7272
7373## Limits
7474
75+ These limits apply only to inline JSON/base64 payloads. Small files can be sent inline, but large
76+ files should be passed as ` path ` or ` url ` . The MCP server uploads those via tus (the default), so
77+ the request body stays small and no extra MCP/LLM token budget is consumed.
78+
7579- Hosted default request body limit: **1 MB** (JSON).
7680- Hosted default ` maxBase64Bytes ` : **512_000** (decoded bytes).
7781- Self-hosted default request body limit: **10 MB** (configurable).
7882
7983## URL inputs
8084
81- - By default URL files are **downloaded and uploaded via tus** (no instruction mutation).
85+ - By default URL files are **downloaded and uploaded via tus**. This keeps instructions unchanged
86+ and avoids large inline payloads (the transfer happens out-of-band).
8287- If instructions already contain an ` /http /import ` step, the MCP server sets/overrides its ` url ` .
8388 - If multiple URLs and a single ` /http /import ` step exists, it supplies a ` url ` array.
8489
You can’t perform that action at this time.
0 commit comments