Get Latest
get_latestFetch the most recently published XKCD comic. Returns comic number, title, image URL, alt/hover text, publication date, transcript (if available), and permalink.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alt | Yes | Alt text for the comic image | |
| img | Yes | URL to the comic image | |
| url | Yes | URL to view the comic on xkcd.com | |
| date | Yes | Publication date in YYYY-MM-DD format | |
| link | Yes | URL link related to the comic, or null if not present | |
| title | Yes | The comic title | |
| number | Yes | The comic number | |
| safe_title | Yes | The comic title with special characters escaped | |
| transcript | Yes | Transcript of the comic, or null if not available |