random_joke

Pack: dadjokes · Endpoint: https://gateway.pipeworx.io/dadjokes/mcp

Get a random dad joke. Returns joke text and ID.

Example call

Arguments

{}

curl

curl -X POST https://gateway.pipeworx.io/dadjokes/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"random_joke","arguments":{}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('random_joke', {});

Response shape

Always returns: id, joke

FieldTypeDescription
idstringUnique identifier for the joke
jokestringThe joke text
Full JSON Schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for the joke"
    },
    "joke": {
      "type": "string",
      "description": "The joke text"
    }
  },
  "required": [
    "id",
    "joke"
  ]
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "dadjokes": {
      "url": "https://gateway.pipeworx.io/dadjokes/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build May 9, 2026