draw_constraint

Pack: creative-constraints · 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_constraint for the schema, then POST the same URL with its arguments for the data.

Draws from Pipeworx’s original 162-card creative-constraints deck (${CATEGORY_LIST}) — each card is one imperative sentence an agent or team can apply to any task (a launch, an essay, an onboarding flow, a dinner), with a one-sentence reason it helps.

Parameters

NameTypeRequiredDescription
countnumbernoHow many cards to draw, 1-${MAX_DRAW_COUNT}. Default 3.
categoriesarraynoRestrict the draw to one or more of: ${CATEGORY_LIST}. Omit (or pass an empty array) for the full 162-card deck.
itemsstringno
seedstringnoOptional seed for a reproducible draw. The same seed, count and categories always return the same cards. Omit for a fresh random draw; the seed actually used is returned in meta.seed.
session_idstringnoA session_id returned by a previous draw_constraint call, to continue drawing without repeating cards already drawn in that session. Hosted gateway only — answers session_supported:false elsewhere.

Example call

Arguments

{
  "categories": [
    "inversion"
  ],
  "count": 3,
  "seed": "pipeworx-demo"
}

curl

curl -X POST https://gateway.pipeworx.io/creative-constraints/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"draw_constraint","arguments":{"categories":["inversion"],"count":3,"seed":"pipeworx-demo"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('draw_constraint', {
  "categories": [
    "inversion"
  ],
  "count": 3,
  "seed": "pipeworx-demo"
});

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 creative-constraints pack
{
  "mcpServers": {
    "creative-constraints": {
      "url": "https://gateway.pipeworx.io/creative-constraints/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 22, 2026