---
title: ToolRouter — Agent Use Case Guide
description: Step-by-step guide for completing a task with a specific AI agent using ToolRouter.
url: https://toolrouter.com/tools/trivia-quiz/use-cases/generate-team-building-trivia/copilot
---
# How to Generate Team Building Trivia with Copilot

Copilot generates trivia questions in structured, machine-readable formats -- JSON arrays, markdown tables, Slack-compatible messages -- ready to plug directly into quiz applications, chat bots, or internal team tools without manual reformatting. This developer-centric approach is ideal for building automated trivia features, populating quiz databases programmatically, or scripting weekly content generation pipelines that deliver fresh questions on a consistent schedule.

## Setup

{"mcpServers":{"toolrouter":{"command":"npx","args":["-y","toolrouter-mcp"]}}}

## Steps

1. Add ToolRouter to Copilot MCP config
2. In Copilot Chat: "Generate 20 trivia questions using trivia-quiz"
3. Copilot returns questions with correct and incorrect answers
4. Ask: "Output these as a JSON array for my quiz app"

## Example Prompt

```
Generate 15 medium-difficulty trivia questions. Output as JSON I can use in a Slack bot.
```

## Tips

- Great for building automated quiz bots with structured output
- Copilot can format questions for any data structure you need
- Combine with a cron job to post weekly trivia to Slack
