GovTribe

Show document MCP tool

Preview a GovTribe user file or government file in an interactive document viewer. Optionally enable document annotations so the user can mark up a WebViewer document and submit normalized annotation state back through Interaction_State without modifying the source file.

Examples

Use this to open exactly one GovTribe file or shell artifact in the document viewer.

Preview a government attachment and jump to evaluation criteria

{
  "tool": "Search_Government_Files",
  "arguments": {
    "query": "evaluation criteria facility modernization",
    "search_mode": "semantic",
    "fields_to_return": [
      "govtribe_id",
      "name",
      "parent_record"
    ]
  }
}
{
  "tool": "Show_Document",
  "arguments": {
    "external_file_id": "<government_file_govtribe_id>",
    "query": "evaluation criteria",
    "scroll_to_query": true
  }
}

Preview a generated shell artifact

{
  "tool": "Show_Document",
  "arguments": {
    "shell_file_identifier": "sandbox:/mnt/data/compliance-matrix.xlsx",
    "query": "Section M",
    "scroll_to_query": true
  }
}

Payload patterns

Pass exactly one of user_file_id, external_file_id, or shell_file_identifier.

Enable human annotation review on a document

{
  "tool": "Show_Document",
  "arguments": {
    "external_file_id": "<government_file_govtribe_id>",
    "query": "key personnel",
    "scroll_to_query": true,
    "annotations": {
      "enabled": true,
      "tools": [
        "highlight",
        "note",
        "rectangle"
      ],
      "helperText": "Annotate the sections that need proposal-team follow-up.",
      "submitLabel": "Submit annotations"
    }
  }
}