random_card
Pack: tarot · 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/random_card for the schema, then POST the same URL with its arguments for the data.
Draws one random card from the Pipeworx original 78-card tarot deck (Rider–Waite–Smith tradition). Returns the card, its orientation (upright or reversed, a coin-flip unless disabled), the traditional meaning for that orientation, and the seed used to reproduce the draw.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
seed | string | no | Reproduce a previous draw by passing back the seed it returned. Omit for fresh randomness. |
reversals | boolean | no | Allow reversed orientation (50% chance per card). Default true; pass false to always draw upright. |
session_id | string | no | Draw from an open tarot_shuffle session instead of a fresh single-call draw (hosted only; never repeats a card within the session). |
Example call
Arguments
{}
curl
curl -X POST https://gateway.pipeworx.io/tarot/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"random_card","arguments":{}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('random_card', {});
Response shape
| Field | Type | Description |
|---|---|---|
card | object | |
seed | string | |
meta | object |
Full JSON Schema
{
"type": "object",
"properties": {
"card": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"arcana": {
"type": "string"
},
"suit": {
"type": "null"
},
"rank": {
"type": "null"
},
"rank_name": {
"type": "null"
},
"element": {
"type": "string"
},
"astrological_correspondence": {
"type": "string"
},
"orientation": {
"type": "string"
},
"keywords": {
"type": "array",
"items": {
"type": "string"
}
},
"meaning": {
"type": "string"
},
"image_description": {
"type": "string"
}
}
},
"seed": {
"type": "string"
},
"meta": {
"type": "object",
"properties": {
"seed": {
"type": "string"
},
"procedure": {
"type": "string"
},
"deck": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"version": {
"type": "string"
}
}
},
"source": {
"type": "string"
}
}
}
}
}
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 tarot pack
{
"mcpServers": {
"tarot": {
"url": "https://gateway.pipeworx.io/tarot/mcp"
}
}
}
See Getting Started for client-specific install steps.