Get Agent Run MCP tool
Read the status of your GovTribe research run by run_id. While the run is queued or running, each call waits up to about 20 seconds for a change, then returns its progress. Call again with the same run_id to keep waiting; runs can take up to an hour. If the run needs input, ask the user the returned questions. A completed run returns a cited Markdown answer and file manifest. The frozen price_quote and billing show the outcome fee and eventual charged or waived credits. To read a specific file, pass its file_id from the manifest. To open the original document in chat, set file_mode to original with file_id. The response embeds the file bytes. Use next_cursor to continue a text read, or download_url for a browser download. Status and file reads are free.
- MCP tool name:
Get_Agent_Run - Returns: Agent run MCP response
- Annotations: Read only, not destructive, idempotent, closed world
- Available in: GovTribe MCP
Examples
Use this tool with the run_id of a run you started. It is available on the GovTribe MCP server when research agents are enabled and your connection has access. Status checks and file reads use no credits. Run GovTribe research agents
Check progress
While the run is queued or running, each call waits up to about 20 seconds for it to change, then returns progress. Call again with the same run_id to keep waiting. Runs can take up to an hour of working time, so you can also tell the user and check back later. Time spent waiting for the user's answers doesn't count toward that hour. When the run returns needs_input, ask the user the returned questions and submit their answers to the same agent tool that started the run.
{
"tool": "Get_Agent_Run",
"arguments": {
"run_id": "00000000-0000-4000-8000-000000000001"
}
}Open or download a workbook
After the run completes, copy the workbook's file_id from result.manifest.files. Set file_mode to original to receive the workbook in the same tool call. Clients that support embedded files can open it directly. For a browser download, use file.download_url. The link works without signing in for 24 hours, and for the run's owner signed in to GovTribe after that. To share it again without sign-in, repeat the call with the same IDs.
If the workbook entry also includes workspace_path, you can use that copy in a follow-on run while the workspace is live. Use a workbook in a follow-on run
{
"tool": "Get_Agent_Run",
"arguments": {
"run_id": "00000000-0000-4000-8000-000000000001",
"file_id": "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef",
"file_mode": "original"
}
}To read a text file in chunks, omit file_mode. The tool returns the first chunk in text. If next_cursor is present and has a value, pass it as cursor with the same run_id and file_id to continue reading. For binary files such as Excel workbooks, text and next_cursor are both null.
Related articles
- Agent run MCP response: Review the response shape returned by this tool.
Find Teaming Partners Agent
Find and rank potential teaming partners for one federal pursuit, with evidence of fit and proposed workshare, in a validated, editable Teaming Partner Shortlist workbook. A paid research run that usually takes 10 to 40 minutes; for a quick lookup, use the Search_ tools instead. Start with request and a fresh idempotency_key, then check progress with Get_Agent_Run using the run_id. If the run needs input, ask the user and call this tool again with only run_id, clarification_id and answers. The price_quote returned at start is the most a completed run will charge.
Add to container
Adds accessible GovTribe User Files, files from file-bearing entities, typed-search JSON, or generated images to the hosted shell under /mnt/data. Provide items, search_results_id, image_generation_call_ids, or a combination. For final PDF validation, use generated_pdf_for_validation alone to inspect the exact saved output bytes. Existing same-workspace User Files do not need another conversation upload. Never generates or edits images. If in_progress, retry with the same arguments. Use the returned container_files.path_hint.