- Action ID
actions.intent.GET_JOKE
- Description
- Get a joke about a topic or from a creative work.
- Example queries
-
en-US
- Let me hear a joke.
- Tell me a joke about dogs.
- 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" ] } ]
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[null,null,["Last updated 2024-09-18 UTC."],[[["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."]]],["The `actions.intent.GET_JOKE` action retrieves jokes based on a specified topic or creative work. Users can request a general joke or one about a specific subject, like \"dogs.\" The JSON-LD structure defines joke properties, including the topic, author, language, and related creative work. Example query included. The temporal coverage is also included, to indicate the time range for which the content is relevant.\n"]]