list_categories
Pack: trivia · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/list_categories for the schema, then POST the same URL with its arguments for the data.
The trivia categories available to filter by, from the Open Trivia Database.
Tool description as the model sees it
List all available trivia categories and their IDs.
Example call
Arguments
{}
curl
curl -X POST https://gateway.pipeworx.io/trivia/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_categories","arguments":{}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('list_categories', {});
Response shape
Always returns: count, categories
| Field | Type | Description |
|---|---|---|
count | number | Number of categories returned |
categories | array | Array of trivia categories |
Full JSON Schema
{
"type": "object",
"properties": {
"count": {
"type": "number",
"description": "Number of categories returned"
},
"categories": {
"type": "array",
"description": "Array of trivia categories",
"items": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Category ID"
},
"name": {
"type": "string",
"description": "Category name"
}
},
"required": [
"id",
"name"
]
}
}
},
"required": [
"count",
"categories"
]
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the trivia pack
{
"mcpServers": {
"trivia": {
"url": "https://gateway.pipeworx.io/trivia/mcp"
}
}
}
See Getting Started for client-specific install steps.