search
Retrieve biomedical articles from PubMed using MeSH queries, structured filters, pagination, and selectable output detail.
Instructions
Search PubMed with MeSH support, structured filters, pagination, and selectable output verbosity. output_mode=minimal returns id/title/url/full_text_available only (legacy-compatible); compact (default) adds authors/journal/year/doi/pmcid; full additionally includes abstract/mesh_terms/publication_types.
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": {
"query": "<query>"
},
"name": "search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Sort order | relevance |
| query | Yes | Search query string with MeSH/PubMed syntax support | |
| retmax | No | Maximum results per page (1-500, default 50) | |
| filters | No | Structured filters AND-ed onto the query: date_range, publication_types, languages (ISO-3), humans_only, has_abstract, free_full_text | |
| retstart | No | Result offset for pagination (default 0) | |
| output_mode | No | Output verbosity: minimal | compact (default) | full | compact |