Tool Configurations
Tool configurations define how LLM columns access external tools during generation. Each ToolConfig specifies which MCP providers to use, which tools are allowed, and operational limits.
Overview
A ToolConfig connects LLM columns to MCP providers. When you create column configurations (like LLMTextColumnConfig or LLMCodeColumnConfig), you reference a tool configuration by its alias. Data Designer uses the tool configuration to determine which tools are available and how to manage tool calls.
ToolConfig Structure
The ToolConfig class has the following fields:
Examples
Basic Tool Configuration
Restricting Allowed Tools
Using Multiple Providers
A single ToolConfig can reference multiple MCP providers, allowing tools to be drawn from different sources:
When the model requests a tool call, Data Designer automatically finds which provider hosts that tool and routes the call appropriately.
Setting Operational Limits
Adding to Config Builder
Tool configurations can be added to the config builder in two ways:
Understanding Turn-Based Limiting
The max_tool_call_turns parameter limits how many tool-calling iterations (turns) are permitted, not the total number of individual tool calls.
Turn-based vs call-based counting A turn is one iteration where the LLM requests tool calls. With parallel tool calling, a single turn may execute multiple tools simultaneously.
For example, if the model requests 3 tools in parallel, that counts as 1 turn, not 3. This gives models flexibility to use parallel calling efficiently while still bounding total iterations.
When the turn limit is reached, Data Designer gracefully refuses additional tool calls rather than failing abruptly. The model receives feedback explaining the limit was reached and can produce a final response based on the tools it already called.
See Also
- MCP Providers: Configure connections to MCP servers
- Enabling Tools on Columns: Reference tool configs from LLM columns
- Safety and Limits: Detailed guide on tool safety controls
- Configure MCP with the CLI: Use the CLI to manage tool configurations