GovTribe

Add to vector store MCP tool

Adds GovTribe files or file-bearing entities into a vector store so their full text becomes searchable via the hosted `file_search` tool. Returns the current status snapshot quickly; if status is in_progress, call Add_To_Vector_Store again later with the same arguments.

Examples

Use this when metadata snippets are not enough and the agent needs semantic retrieval over full file text.

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_Vector_Store again later with the same arguments. Do not call Search_Vector_Store until status is completed and hosted_tool_ready is true.

Add a solicitation package to a new vector store

{
  "tool": "Search_Federal_Contract_Opportunities",
  "arguments": {
    "query": "facility modernization statement of work",
    "search_mode": "semantic",
    "fields_to_return": [
      "govtribe_id",
      "name",
      "government_files"
    ]
  }
}
{
  "tool": "Add_To_Vector_Store",
  "arguments": {
    "items": [
      {
        "govtribe_type": "federal_contract_opportunity",
        "govtribe_id": "<federal_contract_opportunity_govtribe_id>"
      }
    ]
  }
}

Check an existing vector store while files are still processing

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

Payload patterns

Call the tool again with the same arguments when the response says processing is still in_progress. Keep the same govtribe_vector_store_id and items when polling an existing vector store operation. Once the response says status is completed and hosted_tool_ready is true, search it with Search_Vector_Store.

Stage a pursuit file set for later semantic retrieval

{
  "tool": "Add_To_Vector_Store",
  "arguments": {
    "items": [
      {
        "govtribe_type": "pursuit",
        "govtribe_id": "<pursuit_govtribe_id>"
      },
      {
        "govtribe_type": "user_file",
        "govtribe_id": "<capture_notes_user_file_govtribe_id>"
      }
    ]
  }
}