Xkcd Get Latest
xkcd_get_latestFetch the most recently published XKCD comic. Returns comic number, title, image URL, alt/hover text, publication date, transcript (if available), and permalink.
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": {},
"name": "xkcd_get_latest"
}
}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 |