Built-in Tools

Compound systems come equipped with a comprehensive set of built-in tools that can be intelligently called to answer user queries. These tools not only expand the capabilities of language models by providing access to real-time information, computational power, and interactive environments, but also eliminate the need to build and maintain the underlying infrastructure for these tools yourself.

Default Tools

The tools enabled by default vary depending on your Compound system version:

VersionWeb SearchCode ExecutionVisit Website
Newer than 2025-07-23 (Latest)
2025-07-23 (Default)

All tools are automatically enabled by default. Compound systems intelligently decide when to use each tool based on the user's query.


For more information on how to set your Compound system version, see the Compound System Versioning page.

Available Tools

These are all the available built-in tools on Groq's Compound systems.

ToolDescriptionIdentifier
Web SearchAccess real-time web content and up-to-date information with automatic citationsweb_search
Visit WebsiteFetch and analyze content from specific web pagesvisit_website
Browser AutomationInteract with web pages through automated browser actionsbrowser_automation
Code ExecutionExecute Python code automatically in secure sandboxed environmentscode_interpreter
Wolfram AlphaAccess computational knowledge and mathematical calculationswolfram_alpha

Jump to the Configuring Tools section to learn how to enable specific tools via their identifiers.

Configuring Tools

You can customize which tools are available to Compound systems using the compound_custom.tools.enabled_tools parameter. This allows you to restrict or specify exactly which tools should be available for a particular request.


For a list of available tool identifiers, see the Available Tools section.

Example: Enable Specific Tools

from groq import Groq

client = Groq()

response = client.chat.completions.create(
    model="groq/compound",
    messages=[
        {
            "role": "user",
            "content": "Search for recent AI developments and then visit the Groq website"
        }
    ],
    compound_custom={
        "tools": {
            "enabled_tools": ["web_search", "visit_website"]
        }
    }
)

Example: Code Execution Only

response = client.chat.completions.create(
    model="groq/compound",
    messages=[
        {
            "role": "user", 
            "content": "Calculate the square root of 12345"
        }
    ],
    compound_custom={
        "tools": {
            "enabled_tools": ["code_interpreter"]
        }
    }
)

Pricing

See the Pricing page for detailed information on costs for each tool.

Was this page helpful?