Metis · Librarian — Extract Structured
extract_structuredExtract a structured, cited evidence brief from an indexed PDF library by running a fixed question set over a topic and returning a markdown table with one cited row per field.
Instructions
Extract a structured, cited evidence brief on a topic from the PDF library.
Elicit-style structured extraction: runs a fixed question set over the indexed
library (PaperQA2) and assembles a markdown table — one row per field, each
answer carrying its citations. Useful for systematic-review scaffolding.
Args:
topic: The subject to extract on (e.g. "malaria rapid test sensitivity").
fields: Optional comma-separated fields to extract. Default set covers
population, design, sample size, outcome, finding, limitations.
scope: Which index to query ("default" or "ph_library"). Build it first
with index_library_pdfs().
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": {
"topic": "<topic>"
},
"name": "extract_structured"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | default | |
| topic | Yes | ||
| fields | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |