summarize_article_for_query
Get a query-focused snippet from a Wikipedia article, extracting text around your search terms to provide a targeted summary. Control snippet length with max_length.
Instructions
Get a summary of a Wikipedia article tailored to a specific query.
The summary is a snippet around the query within the article text or summary. The max_length parameter controls the length of the snippet.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| title | Yes | ||
| max_length | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| title | Yes | ||
| summary | Yes |