list_categories
Pack: trivia · Endpoint: https://gateway.pipeworx.io/trivia/mcp
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, or use one-click install buttons:
{
"mcpServers": {
"trivia": {
"url": "https://gateway.pipeworx.io/trivia/mcp"
}
}
}
See Getting Started for client-specific install steps.