prompts/agent.system.tool.document_query.md
read local or remote documents or answer questions about them args:
document: url path or list of themqueries: optional list of questionsquery: optional single-question aliasquery or queries it returns document contentdocument accepts one path/url or a list for cross-document comparison{
"thoughts": ["I need the full contents of the report before answering."],
"headline": "Loading report contents",
"tool_name": "document_query",
"tool_args": {
"document": "https://example.com/report.pdf"
}
}
2 compare documents with questions
{
"thoughts": ["I need targeted answers across two documents."],
"headline": "Comparing two documents",
"tool_name": "document_query",
"tool_args": {
"document": [
"https://example.com/report-one.pdf",
"/path/to/report-two.pdf"
],
"queries": [
"Compare the main conclusions.",
"What changed between the two versions?"
]
}
}