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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"title": "<title>",
"query": "<query>"
},
"name": "summarize_article_for_query"
}
}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 |