Content on this page might refer to the legacy Actions SDK. Refer to the main Conversational Actions documentation for guides and procedures that use Actions Builder and the current Actions SDK.

Get joke

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"
    ]
  }
]