files.extend_file
ActiveTool of Vee3
Extend retention for a file that was uploaded with files.upload_file and appears in files.list_uploaded_files with retained_until. Adds additional_retention_days to the current schedule (or from now if retention already expired). Only files with a completed upload session and retention metadata can be extended. Cost = max(1, ceil(size_gibibytes * additional_retention_days * 2)) tokens.
Parameters schema
{
"type": "object",
"title": "extend_fileArguments",
"required": [
"file_name",
"additional_retention_days"
],
"properties": {
"file_name": {
"type": "string",
"title": "File Name",
"maxLength": 255,
"description": "Relative file name or path to extend. Use files.list_uploaded_files and choose a file that includes retained_until."
},
"additional_retention_days": {
"type": "integer",
"title": "Additional Retention Days",
"maximum": 90,
"minimum": 1,
"description": "Days to add to the file's retention schedule."
}
}
}Parent server
Vee3
https://github.com/Vee3io/Vee3
1/7 registries