Skip to main content
Glama

box_docgen_list_jobs_by_batch_tool

Enables users to list document generation jobs within a specific batch on the MCP Server Box. Specify the batch ID, pagination marker, and limit to retrieve job details efficiently.

Instructions

List Doc Gen jobs in a specific batch.

Args: client (BoxClient): Authenticated Box client. batch_id (str): ID of the Doc Gen batch. marker (str, optional): Pagination marker. limit (int, optional): Maximum number of items to return.

Returns: list[dict[str, Any]]: A list of Doc Gen jobs in the batch.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
batch_idYes
limitNo
markerNo

Implementation Reference

  • The main handler function for the 'box_docgen_list_jobs_by_batch_tool' tool. It retrieves the Box client from the context and delegates to the 'box_docgen_list_jobs_by_batch' helper function.
    async def box_docgen_list_jobs_by_batch_tool( ctx: Context, batch_id: str, marker: Optional[str] = None, limit: Optional[int] = None, ) -> list[dict[str, Any]]: """ List Doc Gen jobs in a specific batch. Args: client (BoxClient): Authenticated Box client. batch_id (str): ID of the Doc Gen batch. marker (str, optional): Pagination marker. limit (int, optional): Maximum number of items to return. Returns: list[dict[str, Any]]: A list of Doc Gen jobs in the batch. """ box_client = get_box_client(ctx) return box_docgen_list_jobs_by_batch( box_client, batch_id=batch_id, marker=marker, limit=limit )
  • The registration of the tool using the FastMCP tool decorator.
    mcp.tool()(box_docgen_list_jobs_by_batch_tool)
  • The import statement that brings the tool handler into the registry module.
    box_docgen_list_jobs_by_batch_tool,

Other Tools

Related Tools

Latest Blog Posts

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