filesfm_upload_file
Save a new file from UTF-8 text or strict base64. Maximum decoded size 10 MiB. Never overwrite an existing name. A remote server cannot read local filesystem paths. Requires files:write and account permissions. Inspect the destination before retrying an uncertain result.
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": {
"folder_hash": "<folder_hash>",
"file_name": "<file_name>",
"content": "<content>",
"encoding": "<encoding>"
},
"name": "filesfm_upload_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | ||
| encoding | Yes | ||
| file_name | Yes | ||
| folder_hash | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item | Yes | ||
| status | Yes | ||
| replayed | No | True when this is the stored result of an earlier call with the same idempotency_key. |