get_joke
Pack: dadjokes · Endpoint: https://gateway.pipeworx.io/dadjokes/mcp
Retrieve a specific dad joke by ID. Returns the full joke text.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes | The ID of the dad joke to retrieve. |
Example call
Arguments
{
"id": "R7UfaahbfFd"
}
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":"get_joke","arguments":{"id":"R7UfaahbfFd"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_joke', {
"id": "R7UfaahbfFd"
});
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.