box_metadata_get_instance_on_file_tool
Retrieve the metadata template instance attached to a specific file using its file ID and template key. Use it to read custom metadata values stored on that file.
Instructions
Get 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 get the metadata from. template_key (str): The key of the metadata template.
Returns: dict: The metadata instance associated with the file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | ||
| template_key | Yes |