Joke By Category
joke_by_categoryGet a random Chuck Norris joke from a specific category. Returns joke text and ID.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"category": "dev"
},
"name": "joke_by_category"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | Yes | Category to fetch a joke from. Use list_categories to see valid values. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Unique joke identifier | |
| url | Yes | URL to the joke on chucknorris.io | |
| joke | Yes | The joke text | |
| categories | Yes | List of categories |