PDF: read an attached file
read_attachmentRead the text content of a file attached as a PDF annotation by specifying its xref. Decodes the embedded file for viewing.
Instructions
Read an attached file back as text.
Contents of a file-attachment annotation (an xref from annotations with a file field), decoded as text.
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": {
"xref": "<xref>"
},
"name": "read_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| xref | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||