search_by_author
Find PubMed articles by a specific author, filter by publication years, and retrieve recent publications.
Instructions
Search PubMed for all articles by a specific author.
Args: author: Author name in PubMed format. Examples: "Smith JA" (last name + initials — most precise) "Smith J" (last name + first initial) "John Smith" (full name, less reliable) max_results: Number of results to return (1-100, default 10). year_from: Restrict to articles published from this year. year_to: Restrict to articles published up to this year.
Returns: A list of articles by the author, sorted by most recent first. Returns an error message if the author name is empty or the query fails.
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": {
"author": "<author>"
},
"name": "search_by_author"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| author | Yes | ||
| max_results | No | ||
| year_from | No | ||
| year_to | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |