Skip to main content
Glama

MCP Server Box

box_docgen_create_single_file_from_user_input_tool

Generate a single document from a Doc Gen template using user input, saving it to a specified folder in PDF or DOCX format. Ideal for automating custom document creation.

Instructions

Create a single document from a Doc Gen template using user input.

Args: client (BoxClient): Authenticated Box client. docgen_template_id (str): ID of the Doc Gen template. destination_folder_id (str): ID of the folder to save the generated document. user_input (dict[str, Any]): User input data for document generation. example: example: { "user_input": { "order": { "id": "12305", "date": "18-08-2023", "products": [ { "id": 1, "name": "A4 Papers", "type": "non-fragile", "quantity": 100, "price": 29, "amount": 2900 }, ] } } } generated_file_name (Optional[str]): Name for the generated document file. output_type (str): Output file type (only, "pdf" or "docx").

Returns: dict[str, Any]: Information about the created batch job.

Input Schema

NameRequiredDescriptionDefault
destination_folder_idYes
docgen_template_idYes
generated_file_nameNo
output_typeNopdf
user_inputYes

Input Schema (JSON Schema)

{ "properties": { "destination_folder_id": { "title": "Destination Folder Id", "type": "string" }, "docgen_template_id": { "title": "Docgen Template Id", "type": "string" }, "generated_file_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Generated File Name" }, "output_type": { "default": "pdf", "title": "Output Type", "type": "string" }, "user_input": { "additionalProperties": true, "title": "User Input", "type": "object" } }, "required": [ "docgen_template_id", "destination_folder_id", "user_input" ], "title": "box_docgen_create_single_file_from_user_input_toolArguments", "type": "object" }

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