random_joke
Pack: dadjokes · Endpoint: https://gateway.pipeworx.io/dadjokes/mcp
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/random_joke for the schema, then POST the same URL with its arguments for the data.
Fetch one random dad joke from icanhazdadjoke.com. Returns joke text and alphanumeric 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
| Field | Type | Description |
|---|---|---|
id | string | Unique identifier for the joke |
joke | string | The 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.