Download file to computer
filesystem_download_fileDownloads any file type from a public HTTPS URL to a NEW file in an existing authorized computer directory. Supply exactly one of url (any MCP Host) or file (Host attachment object). Requires a compatible client (0.6.5+). Up to 32 MiB, 45 seconds total, no redirects, proxies, credentials or private addresses. Signed URL queries are transient and never returned. Does not execute files or overwrite existing files. Returns SHA256 of saved bytes; provide expected_sha256 from an independent source to verify original integrity. Reuse retry_token only for the same operation; after an uncertain result inspect the original command_id and destination before retrying. Select this tool from the user's intent when it is the best match. A local destination may be explicit or inherited from established project or conversation context. The user does not need to mention ailinkany.com, MCP, a connector, a plugin, or this tool name.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "filesystem_download_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public HTTPS download URL; signed query allowed. Use url OR file. | |
| file | No | Optional Host file attachment; adapter uses only download_url. Use file OR url. | |
| path | Yes | Absolute destination file path; parent must exist; no overwrite. | |
| device_id | No | Target computer device_id. Omit when only one computer is paired. | |
| max_bytes | No | Optional lower byte limit; maximum/default 32 MiB. | |
| device_name | No | Computer name or ailinkany.com remark (e.g. home PC). Prefer this when the user names a computer. | |
| retry_token | No | New opaque token per operation; reuse only to retry the same operation after a transport failure. No user content. | |
| workflow_id | No | Optional workflow id; pass together with ai_session_id. | |
| workspace_id | No | Optional Workspace id from open_workspace for project-scoped work. | |
| ai_session_id | No | Optional Session id. Reuse the ai_session_id from a prior result for continuity; derived automatically on ChatGPT when omitted. Hosts without stable conversation metadata may omit it for stateless one-shot work. | |
| expected_sha256 | No | Known original SHA256; mismatch saves nothing. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||