ftp_put
Uploads a file to a shared virtual filesystem by providing a registered access hash, automatically verifying SHA-256 integrity and extracting file metadata.
Instructions
Envia arquivo. Exige access_hash cadastrado (ftp_register). Grava SHA-256, verifica disco e extrai metadados.
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>",
"access_hash": "<access_hash>"
},
"name": "ftp_put"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mime | No | application/octet-stream | |
| path | Yes | ||
| content | No | ||
| message | No | ||
| agent_id | No | ||
| visibility | No | shared | |
| access_hash | Yes | ||
| expected_hash | No | ||
| content_base64 | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||