box_metadata_update_instance_on_file_tool
Update metadata on a specific file using a defined template. Remove non-included data fields if specified. Returns Box API response post-update.
Instructions
Update a metadata instance on a 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 | ||
metadata | Yes | ||
remove_non_included_data | No | ||
template_key | Yes |