Skip to main content
Glama

MCP Server Box

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

NameRequiredDescriptionDefault
file_idYes
metadataYes
remove_non_included_dataNo
template_keyYes

Input Schema (JSON Schema)

{ "properties": { "file_id": { "title": "File Id", "type": "string" }, "metadata": { "additionalProperties": true, "title": "Metadata", "type": "object" }, "remove_non_included_data": { "default": false, "title": "Remove Non Included Data", "type": "boolean" }, "template_key": { "title": "Template Key", "type": "string" } }, "required": [ "file_id", "template_key", "metadata" ], "title": "box_metadata_update_instance_on_file_toolArguments", "type": "object" }
Install Server

Other Tools from MCP Server Box

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/box-community/mcp-server-box'

If you have feedback or need assistance with the MCP directory API, please join our Discord server