Read document metadata
metadata_readRead a document's embedded metadata—title, author, subject, keywords, creator, and timestamps—across all supported formats like xlsx and odf.
Instructions
Reads a document's own title/author/subject/keywords/creator/producer/created-and-modified-timestamp metadata. Works across every supported format, including xlsx (read via a throwaway xlsx-to-pdf preview, since documents.js has no dedicated xlsx metadata reader of its own) and odf (a standalone formula document).
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": {
"source": "<source>"
},
"name": "metadata_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | The document to read metadata from. |