Skip to main content
Glama

MCP Server Box

box_metadata_template_create_tool

Generate custom metadata templates for Box files and folders by defining display names, field types, and optional template keys. Streamline organization and data management for efficient content handling.

Instructions

Create a metadata template. Args: ctx (Context): The context object containing the request and lifespan context. display_name (str): The display name of the metadata template. fields (List[Dict[str, Any]]): A list of fields to include in the template. Example:{"displayName": "Customer", "fields": [ { "type": "string", "key": "name", "displayName": "Name", "description": "The customer name", "hidden": false }, { "type": "date", "key": "last_contacted_at", "displayName": "Last Contacted At", "description": "When this customer was last contacted at", "hidden": false }, { "type": "enum", "key": "industry", "displayName": "Industry", "options": [ {"key": "Technology"}, {"key": "Healthcare"}, {"key": "Legal"} ] }, { "type": "multiSelect", "key": "role", "displayName": "Contact Role", "options": [ {"key": "Developer"}, {"key": "Business Owner"}, {"key": "Marketing"}, {"key": "Legal"}, {"key": "Sales"} ] } ] }

template_key (Optional[str]): An optional key for the metadata template. If not provided, a key will be generated.

Returns: dict: The created metadata template.

Input Schema

NameRequiredDescriptionDefault
display_nameYes
fieldsYes
template_keyNo

Input Schema (JSON Schema)

{ "properties": { "display_name": { "title": "Display Name", "type": "string" }, "fields": { "items": { "additionalProperties": true, "type": "object" }, "title": "Fields", "type": "array" }, "template_key": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Template Key" } }, "required": [ "display_name", "fields" ], "title": "box_metadata_template_create_toolArguments", "type": "object" }

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