← Về thư mục
📄 / / integrations / notebooklm-mcp-cli / .venv / lib / python3.11 / site-packages / fastmcp / contrib / bulk_tool_caller / README.md

Bulk Tool Caller

This module provides the BulkToolCaller class, which extends the MCPMixin to offer tools for performing multiple tool calls in a single request to a FastMCP server. This can be useful for optimizing interactions with the server by reducing the overhead of individual tool calls.

Usage

To use the BulkToolCaller, see the example example.py file. The BulkToolCaller can be instantiated and then registered with a FastMCP server URL. It provides methods to call multiple tools in bulk, either different tools or the same tool with different arguments.

Provided Tools

The BulkToolCaller provides the following tools:

call_tools_bulk

Calls multiple different tools registered on the MCP server in a single request.

call_tool_bulk

Calls a single tool registered on the MCP server multiple times with different arguments in a single request.