get_document
Fetch a single allowlisted S3 document and extract its text for cite-only use. Returns provenance and content without writing to DecisionPen, so answers stay evidence-backed.
Instructions
Fetch one object from the allowlisted S3 prefix. Returns provenance + text when extractable. Does not persist into DecisionPen (mode=cite_only|propose|persist_approved — MCP itself never Confirmed-writes). item_id: full S3 object key (from list_sources / search_docs). include_text: when true, attempt text extraction for cite-only use.
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": {
"item_id": "<item_id>"
},
"name": "get_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item_id | Yes | ||
| include_text | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |