fs_upload_abort
Stop your unfinished upload and clean its temporary bytes. A completed upload returns its receipt and keeps the destination file.
Arguments
Over MCP every tool also takes machine: the machine’s name or id, optional when only one machine is online.
| Name | Type | Required | Meaning |
|---|---|---|---|
transfer | string | yes | The id bound by fs_upload_begin, owned by this same authenticated caller. |
Result
| Name | Type | Required | Meaning |
|---|---|---|---|
chunk_max_bytes | integer | yes | Maximum decoded bytes in a chunk. |
expires_at | integer | yes | Fixed expiry as Unix seconds. |
offset | integer | yes | Durable confirmed byte offset. Only continue from this value. |
path | string | yes | Bound canonical absolute destination. |
receipt | object | no | Present only after verified publication. |
sha256 | string | yes | Expected whole-file SHA-256; a committed receipt confirms verification. |
size | integer | yes | Expected whole-file decoded bytes. |
state | "uploading" | "committed" | "aborted" | "expired" | yes | Current durable state. |
transfer | string | yes | Client-generated upload id. |
Examples
MCP
{
"name": "fs_upload_abort",
"arguments": {
"machine": "<machine>",
"transfer": "<transfer>"
}
}Limits
The call times out after 60 s (timed_out). Available since version 0.1.18. A refused or failed call returns one of the error codes.