Rename a file or change its expiry
update_fileRename a file, or change when it is deleted: expires_in_days from now, keep (never deleted by the retention policy), or use_policy (follow the organization's retention policy again).
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": {
"id": "<id>"
},
"name": "update_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The file's id. | |
| keep | No | true: keep it whatever the policy says. | |
| name | No | A new name: a relative path. | |
| use_policy | No | true: drop its own expiry and keep flag, and follow the retention policy. | |
| expires_in_days | No | Delete the file this many days from now. |