Create archive
create_archiveUse this when the user wants files or a directory packed into a tar, tar.gz, or zip archive, for example before a transfer or a backup.
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": {
"paths": "<paths>",
"destination": "<destination>",
"device": "<device>"
},
"name": "create_archive"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | Yes | Absolute paths of the files and directories to include. | |
| device | Yes | ReMCP device id returned by list_devices. Required for every device operation. | |
| format | No | Archive format. Default tar.gz, or zip when the destination ends in .zip. | |
| destination | Yes | Absolute path of the archive to create. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Optional structured result data for follow-up reasoning and tool calls. | |
| text | Yes | Concise human-readable result of the tool call. |