Show document MCP response
MCP tool response returned by the Show document MCP tool.
- Returned by: Show document MCP tool
- Response type: Structured app payload
Response Shape
The response describes a read-only document preview and authorized file links. New responses do not create annotation interactions.
| Field | Type | Notes |
|---|---|---|
id | string | GovTribe user file or government file identifier. |
govtribe_type | string | user_file or government_file. |
title | string | Display title for the document. |
filename | string | Source filename. |
extension | string | Lowercase file extension. |
mime_type | string or null | MIME type when known. |
viewer_url | string | Temporary URL for previewing the document. |
open_url | string | Temporary file access URL; may return an attachment download. |
download_url | string | Temporary URL used to download the document. |
url_expires_at | string | ISO timestamp for the temporary URL expiration. |
govtribe_url | string | GovTribe web URL for the file record. |
query | string or null | Optional search text to locate in the document. |
scroll_to_query | boolean | Whether the viewer should scroll to the query. |
viewable | boolean | Whether the file can be previewed in the document app. |
Follow-up Behavior
Use Refresh document MCP response when preview URLs need to be refreshed. Historical annotation payloads are read-only. Unsent drafts remain separate from submitted instructions and do not establish an edit request or approval. Submitted edits remain available; use Interaction state MCP response to read their existing state. In GovTribe AI, use the dedicated document pane for new review comments and edits.
Example
{
"id": "FILE_ID",
"govtribe_type": "government_file",
"title": "Solicitation attachment",
"filename": "solicitation.pdf",
"extension": "pdf",
"mime_type": "application/pdf",
"viewer_url": "https://govtribe.com/temporary/files/FILE_ID/view",
"open_url": "https://govtribe.com/temporary/files/FILE_ID/open",
"download_url": "https://govtribe.com/temporary/files/FILE_ID/download",
"url_expires_at": "2026-10-23T13:00:00+00:00",
"govtribe_url": "https://govtribe.com/files/FILE_ID",
"query": "delivery schedule",
"scroll_to_query": true,
"viewable": true
}