draw_cards

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/draw_cards for the schema, then POST the same URL with its arguments for the data.

Draws a spread of 1–78 random cards from the Pipeworx original tarot deck (Rider–Waite–Smith tradition), each with its own orientation and traditional meaning for that orientation.

Parameters

NameTypeRequiredDescription
countnumberyesNumber of cards to draw (1–78).
seedstringnoReproduce a previous draw by passing back the seed it returned. Omit for fresh randomness.
reversalsbooleannoAllow reversed orientation (50% chance per card). Default true; pass false to always draw upright.
session_idstringnoDraw 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

{
  "count": 3
}

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":"draw_cards","arguments":{"count":3}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('draw_cards', {
  "count": 3
});

More examples

{
  "count": 10
}

Response shape

FieldTypeDescription
countnumberNumber of cards drawn
cardsarrayArray of drawn tarot cards
seedstring
metaobject
Full JSON Schema
{
  "type": "object",
  "properties": {
    "count": {
      "type": "number",
      "description": "Number of cards drawn"
    },
    "cards": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string",
            "description": "Full name of the tarot card"
          },
          "arcana": {
            "type": "string"
          },
          "suit": {
            "type": [
              "null",
              "string"
            ],
            "description": "Suit of the card (null for Major Arcana)"
          },
          "rank": {
            "type": [
              "null",
              "number"
            ]
          },
          "rank_name": {
            "type": [
              "null",
              "string"
            ]
          },
          "element": {
            "type": [
              "null",
              "string"
            ]
          },
          "astrological_correspondence": {
            "type": [
              "string",
              "null"
            ]
          },
          "orientation": {
            "type": "string"
          },
          "keywords": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "meaning": {
            "type": "string"
          },
          "image_description": {
            "type": "string"
          }
        }
      },
      "description": "Array of drawn tarot cards"
    },
    "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.

Regenerated from source · build October 31, 2026