get_random_table
Pack: random-tables · 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/get_random_table for the schema, then POST the same URL with its arguments for the data.
Pipeworx original random tables: fetch one built-in table in full — its title, genre, description, and every raw entry (text + weight) — without rolling.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
table | string | yes | Built-in table id, e.g. “loot”, “npc_full”, “encounters_fantasy”. Call list_random_tables to see every id. |
Example call
Arguments
{
"table": "loot"
}
curl
curl -X POST https://gateway.pipeworx.io/random-tables/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_random_table","arguments":{"table":"loot"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_random_table', {
"table": "loot"
});
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 random-tables pack
{
"mcpServers": {
"random-tables": {
"url": "https://gateway.pipeworx.io/random-tables/mcp"
}
}
}
See Getting Started for client-specific install steps.