guardian_get_article
Retrieve the full content and metadata of specific Guardian articles using their ID or URL, customizable with fields like headline, body, and publication date.
Instructions
Retrieve full content of a specific Guardian article
Input Schema
Name | Required | Description | Default |
---|---|---|---|
article_id | Yes | The Guardian article ID or full URL (e.g., "politics/2024/dec/01/example" or "https://www.theguardian.com/politics/2024/dec/01/example") | |
show_fields | No | Fields to include (default: headline,standfirst,body,byline,publication,firstPublicationDate) | |
truncate | No | Whether to truncate content to preview length (default: false for full content) |
Input Schema (JSON Schema)
{
"properties": {
"article_id": {
"description": "The Guardian article ID or full URL (e.g., \"politics/2024/dec/01/example\" or \"https://www.theguardian.com/politics/2024/dec/01/example\")",
"type": "string"
},
"show_fields": {
"description": "Fields to include (default: headline,standfirst,body,byline,publication,firstPublicationDate)",
"type": "string"
},
"truncate": {
"description": "Whether to truncate content to preview length (default: false for full content)",
"type": "boolean"
}
},
"required": [
"article_id"
],
"type": "object"
}