box_metadata_update_instance_on_file_tool
Update metadata templates on Box files to modify file properties and classifications using structured data fields.
Instructions
Update the metadata template instance associated with a specific file.
Args: ctx (Context): The context object containing the request and lifespan context. file_id (str): The ID of the file to update the metadata on. template_key (str): The key of the metadata template. metadata (dict): The metadata to update. remove_non_included_data (bool): If True, remove data from fields not included in the metadata.
Returns: dict: The response from the Box API after updating the metadata.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | ||
| template_key | Yes | ||
| metadata | Yes | ||
| remove_non_included_data | No |