box_docgen_list_jobs_tool
Retrieve a list of all Box Doc Gen jobs for the current user, with pagination and limit options, using the authenticated Box client.
Instructions
List all Box Doc Gen jobs for the current user.
Args: client (BoxClient): Authenticated Box client. 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.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| marker | No |
Implementation Reference
- src/tools/box_tools_docgen.py:314-332 (handler)The main asynchronous handler function for the 'box_docgen_list_jobs_tool'. It extracts the Box client from the MCP context and delegates to the underlying 'box_docgen_list_jobs' function from the box_ai_agents_toolkit library, handling pagination parameters.async def box_docgen_list_jobs_tool( ctx: Context, marker: str | None = None, limit: int | None = None, ) -> list[dict[str, Any]]: """ List all Box Doc Gen jobs for the current user. Args: client (BoxClient): Authenticated Box client. 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. """ box_client = get_box_client(ctx) return box_docgen_list_jobs(box_client, marker=marker, limit=limit)
- src/tool_registry/doc_gen_tools.py:22-22 (registration)The registration of the 'box_docgen_list_jobs_tool' using the MCP FastMCP tool decorator within the 'register_doc_gen_tools' function.mcp.tool()(box_docgen_list_jobs_tool)