Read Full Text or Metadata
library_readFetch full-text content or metadata from a public library source using an item ID. Returns cleaned text up to 200k characters, or item details with an external URL.
Instructions
Fetch text from a library source. Full-text sources return cleaned text (truncated at 200k chars). Metadata sources return item details and an external URL.
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": {
"id": "<id>",
"source": "<source>"
},
"name": "library_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Item identifier from library_search or library_ask | |
| source | Yes | Library source name. Run library_list_sources for the current list and descriptions. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doi | No | ||
| note | No | ||
| text | No | ||
| year | No | ||
| pages | No | ||
| title | Yes | ||
| authors | Yes | ||
| language | No | ||
| charCount | No | ||
| truncated | No | ||
| externalUrl | No | ||
| truncatedAt | No | ||
| unavailable | No | ||
| metadataOnly | No |