box_upload_file_from_path_tool
Upload a file from a server filesystem path to a specified Box folder. Provide the file path, folder ID, and optionally a new file name. Returns the uploaded file’s ID and name.
Instructions
Upload a file to Box from a filesystem path.
Args: file_path (str): Path on the server filesystem to the file to upload. folder_id (str): The ID of the destination folder. Defaults to root ("0"). new_file_name (str): Optional new name to give the file in Box. If empty, uses the original filename.
return: str: Information about the uploaded file (ID and name).
Input Schema
Name | Required | Description | Default |
---|---|---|---|
file_path | Yes | ||
folder_id | No | 0 | |
new_file_name | No |
Input Schema (JSON Schema)
{
"properties": {
"file_path": {
"title": "File Path",
"type": "string"
},
"folder_id": {
"default": "0",
"title": "Folder Id",
"type": "string"
},
"new_file_name": {
"default": "",
"title": "New File Name",
"type": "string"
}
},
"required": [
"file_path"
],
"title": "box_upload_file_from_path_toolArguments",
"type": "object"
}