GovTribe

Add to container MCP tool

Adds GovTribe files or file-bearing entities to the hosted `shell` tool under /mnt/data. Returns the current status snapshot quickly; if status is in_progress, call Add_To_Container again later with the same arguments.

Examples

Use this when the user needs file content available in the hosted shell at /mnt/data, especially for spreadsheet, PDF, or attachment workflows.

This is a polling tool. Read status, hosted_tool_ready, and retry_with_same_arguments from each response. When status is in_progress and retry_with_same_arguments is true, call Add_To_Container again later with the same arguments. Do not use the hosted shell files until status is completed and hosted_tool_ready is true.

Add an opportunity attachment package to the container

{
  "tool": "Search_Federal_Contract_Opportunities",
  "arguments": {
    "query": "cybersecurity operations support attachments",
    "search_mode": "semantic",
    "fields_to_return": [
      "govtribe_id",
      "name",
      "government_files"
    ]
  }
}
{
  "tool": "Add_To_Container",
  "arguments": {
    "items": [
      {
        "govtribe_type": "federal_contract_opportunity",
        "govtribe_id": "<federal_contract_opportunity_govtribe_id>"
      }
    ]
  }
}

Retry the same container add while files are still processing

{
  "tool": "Add_To_Container",
  "arguments": {
    "items": [
      {
        "govtribe_type": "government_file",
        "govtribe_id": "<government_file_govtribe_id>"
      }
    ]
  }
}

Payload patterns

Use items for one to ten file-bearing records. Passing an entity adds its attached files; passing a file adds only that file. Keep the same items when polling an in-progress operation.

Add several known files at once

{
  "tool": "Add_To_Container",
  "arguments": {
    "items": [
      {
        "govtribe_type": "government_file",
        "govtribe_id": "<technical_volume_file_govtribe_id>"
      },
      {
        "govtribe_type": "user_file",
        "govtribe_id": "<pricing_workbook_user_file_govtribe_id>"
      }
    ]
  }
}