update_file
Update an existing file in CData Arc by specifying its connector, folder, filename, and message ID. Optionally replace content or metadata.
Instructions
Update an existing Arc file
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": {
"connectorId": "<connectorId>",
"folder": "<folder>",
"filename": "<filename>",
"messageId": "<messageId>"
},
"name": "update_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder | Yes | The folder where the file is located | |
| content | No | Base64 encoded file content | |
| filePath | No | Full path to the file | |
| fileSize | No | Size of the file in bytes | |
| filename | Yes | The name of the file | |
| messageId | Yes | The message ID associated with the file | |
| subfolder | No | Optional subfolder within the main folder | |
| connectorId | Yes | The connector ID that processed the file | |
| timeCreated | No | File creation timestamp (ISO format) | |
| batchGroupId | No | Batch group identifier for related files | |
| isBatchGroup | No | Whether this file represents a batch group |