Agent run MCP response
Interpret GovTribe research agent status, clarification requests, credit quotes, completed reports, and file downloads.
- Returned by: Likely Bidders Agent MCP tool, Find Contract Incumbent Agent MCP tool, Trace Contract Recompete Agent MCP tool, Plan Proposal Compliance Agent MCP tool, Run Bid / No-Bid Review Agent MCP tool, Model Labor Pricing and Staffing Agent MCP tool, Analyze Contract Spend Agent MCP tool, Find Matching Opportunities Agent MCP tool, Find Teaming Partners Agent MCP tool, Get Agent Run MCP tool
- Response type: Structured research run status or file selection
Response Shape
Read the payload in structuredContent. Check the final tool result's structuredContent to distinguish completed research from a failed or expired run.
| Field | Type | What it means |
|---|---|---|
run_id | UUID | Use this ID for status, clarification, or file reads. |
status | string | queued, running, needs_input, completed, failed, cancelled, or expired. |
speed | string | Requested processing tier on a run status response. |
created_at, updated_at | date-time | When the run was created and last updated. |
poll_after_seconds | integer | Delay before checking a queued or running run again. |
progress | string | What a queued or running run is doing, and how long ago it started. |
clarification | object | Questions to ask when status is needs_input. Use id as clarification_id, use each question's id as its key in answers, and reply before expires_at, a Unix timestamp in seconds. Some questions include suggested options. |
price_quote | object | The maximum credits quoted for the completed outcome at the selected speed. Use credits for display. The quote also includes integer microcredits, the workflow and pricing versions, and charge_on set to completed. |
billing | object | Current state of the outcome fee. Check state and use charged_credits and waived_credits when settlement amounts appear. Account spending rules can reduce the charge below the quote. |
result | object | A completed run includes a cited answer_markdown, evidence and limitations, a file manifest, and suggested_next_agents. Some workflows add structured findings, such as Likely Bidders candidates. |
error | object | code and message explain a failed, cancelled, or expired run or an unsuccessful tool request. |
result.manifest.files lists the report, findings, and available research data or deliverables. result.manifest.omitted lists known files or source data that could not be included and why. For example, sources/Search_User_Files with reason raw_export_unavailable means the run used that tool's results, but they can't be shared as source files. Other sources are still listed in files. Each file entry includes file_id, path, description, content_type, size_bytes, sha256, download_url, and download_expires_at. Each download_url works without signing in until its download_expires_at, 24 hours after the response. After that, the same link still works for the run's owner while signed in to GovTribe. Someone who isn't signed in is sent to sign in, and a signed-in user who doesn't own the run gets a not-found error.
result.manifest.archive gives one link to the manifest's files as a zip. GovTribe checks each file when the zip is built; a file that fails the check is left out and listed in the zip's manifest.json under omitted. That manifest.json, at the root of the zip, lists each included file's path, description, content_type, size_bytes, and sha256, plus the omissions, with no links that could stop working. The archive entry includes path, description, content_type, file_count, download_url, and download_expires_at, with the same link rules.
result.suggested_next_agents lists up to three follow-on agents the research agent recommends, or none. Each entry has the agent's tool name as agent, a request you can send as is, and a one-sentence reason. Only agents available to the connection are listed, and each suggestion is a separate paid run with its own quote.
A workbook entry can also include workspace_path. This is the path to the workbook copy added to the run's live workspace. If GovTribe could not add the copy or the workspace had already expired, the entry omits workspace_path and still includes the download link.
When you select a file, the response includes run_id, status, and the selected file with a fresh link and its workspace_path when available. With file_mode set to original, the tool also embeds the verified file bytes in its MCP content. The top-level resource_uri identifies the original file for clients that support authenticated MCP resource reads. The response also includes text and next_cursor. Both are null for binary files. The run's quote and billing fields can also be included.
Follow-up Behavior
- For
queuedorrunning, wait the indicated interval, then callGet_Agent_Runagain with the samerun_id. - For
needs_input, ask the user and submit their answers through the connection's task form or the same start tool. An ordinary reply usesrun_id,clarification_id, andanswers. - For
completed, use the cited answer and choose files byfile_idfrom the manifest. Useresult.manifest.archiveto download everything at once. CallGet_Agent_Runwith the same run and file IDs to get a new link that works without signing in. For a paginated text read, use the returnednext_cursorascursoron the next read of the same file. - When
result.suggested_next_agentshas entries, offer them to the user and start one only if they ask. Pass the completedrun_idasreuse_from_run_idto continue in the same workspace. - To work with a workbook copy in a new run, use the completed
run_idasreuse_from_run_idand describe the task inrequest. Include the returnedworkspace_pathvalue in therequesttext if you want to identify the working copy. Use the follow-on run's manifest to see which files its workflow published for download. Use a workbook in a follow-on run - On
workspace_expired, start a fresh run with a newidempotency_key. Keepreuse_from_run_idto restore the earlier runs' saved files into a new workspace, or leave it out to start without them. Run GovTribe research agents
Failed, cancelled, and expired runs use no credits. Status checks, clarification replies, and file reads add no fee.
Example
This synthetic excerpt shows the response when you select an Excel workbook from a completed run.
{
"run_id": "00000000-0000-4000-8000-000000000001",
"status": "completed",
"file": {
"file_id": "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef",
"path": "teaming-partner-shortlist.xlsx",
"workspace_path": "/workspace/00000000-0000-4000-8000-000000000001-teaming-partner-shortlist.xlsx",
"description": "Editable Teaming Partner Shortlist workbook.",
"content_type": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
"size_bytes": 39226,
"sha256": "fedcba9876543210fedcba9876543210fedcba9876543210fedcba9876543210",
"download_url": "https://govtribe.com/agent-runs/00000000-0000-4000-8000-000000000001/artifacts/0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef?signature=example",
"download_expires_at": "2026-11-12T15:15:00Z"
},
"resource_uri": "govtribe://agent-runs/00000000-0000-4000-8000-000000000001/files/0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef/teaming-partner-shortlist.xlsx",
"text": null,
"next_cursor": null
}