lit_fetch
Retrieve the full legal text of a paper, extract its content, and index it locally for search. Prefers sectioned XML to preserve structure, enabling precise answers to questions like 'What did the Methods say?'.
Instructions
Download the best legal full text for a paper into the local library, extract its text, and index it. Prefers sectioned XML over PDF because XML preserves headings, which makes 'what did the Methods say' answerable.
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": {
"identifier": "<identifier>"
},
"name": "lit_fetch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| identifier | Yes | ||
| prefer_pdf | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |