```javascript
import Groq from "groq-sdk";

const groq = new Groq();

export async function main() {
    const completion = await groq.chat.completions.create({
      messages: [
        {
          role: "user",
          content: "What is the current weather in Tokyo?",
        },
      ],
      // Change model to compound to use built-in tools
      // model: "llama-3.3-70b-versatile",
      model: "groq/compound",
    });

    console.log(completion.choices[0]?.message?.content || "");
    // Print all tool calls
    // console.log(completion.choices[0]?.message?.executed_tools || "");
}

main();
```

---

## Compound: Version (js)