Get joke

  • The actions.intent.GET_JOKE Action ID is used to request jokes, optionally specifying a topic or source.

  • Example queries include "Let me hear a joke" or "Tell me a joke about dogs," demonstrating how users can request jokes.

  • JSON-LD sample highlights schema properties like about, author, inLanguage, isPartOf, and temporalCoverage for representing joke information.

Action ID
actions.intent.GET_JOKE
Description
Get a joke about a topic or from a creative work.
Example queries
JSON-LD sample
[
  {
    "exampleValues": [
      {
        "@context": "https://schema.googleapis.org",
        "@type": "Joke",
        "about": {
          "name": "dogs"
        },
        "author": {
          "name": "Jane Austen"
        },
        "inLanguage": {
          "identifier": "hin"
        },
        "isPartOf": {
          "name": "Pride and Prejudice"
        },
        "temporalCoverage": "1990-01-01T00:00:00/1990-12-31T11:59:59"
      }
    ],
    "name": "joke",
    "schemaType": [
      "https://schema.googleapis.org/Joke"
    ]
  }
]