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.
- MCP tool name:
Add_To_Container - Returns: Add to container MCP response
- Annotations: Not read only, destructive, idempotent, closed world
- Surfaces: GovTribe AI
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, retry_with_same_arguments, next_actions, and container_files 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. Once files are ready, use container_files.path_hint for hosted shell commands and container_files.sandbox_uri_hint when a response needs a sandbox link.
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>"
}
]
}
}Related articles
- Add to container MCP response: Review the response shape returned by this tool.
- GovTribe AI: Review the GovTribe AI surface where this tool can be called.
- Source identifiers and record matching: Use GovTribe IDs and source identifiers when passing records between tools.
- Government file data type: Understand GovTribe-managed file records used by file and document tools.
- User file data type: Understand workspace-uploaded file records used by file and document tools.
MCP tools
Reference GovTribe MCP tools that agents can use to search data, manage workspace records, and show interactive results.
Add to vector store
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.