GovTribe

Test run automation MCP response

MCP tool response returned by the Test run automation MCP tool.

Response Shape

The tool starts a manual automation run and returns the current run status plus any started GovTribe AI conversation.

FieldTypeNotes
statusstringCurrent tool status. The current value is started.
status_messagestringHuman-readable status message. When a conversation was started, this message tells the agent to use conversation.govtribe_url.
workflow_version_run_model_idstringGovTribe ID of the started workflow run.
eligibilityobjectRun eligibility snapshot with accepted and reason.
out_of_creditsbooleanWhether the automation hit an out-of-credits condition while starting the test run.
buy_credits_urlstring or nullDirect GovTribe URL for buying credits when out_of_credits is true.
buy_credits_routeobject or nullGovTribe route name and params for buying credits when the account is out of credits.
conversationobject or nullStarted GovTribe AI conversation when one is available. This object includes the conversation govtribe_url plus _id and route.

Follow-up Behavior

When conversation is present, use conversation.govtribe_url to open the started GovTribe AI conversation and review the run output.

When out_of_credits is true, the run started but the automation could not continue. Use buy_credits_url or buy_credits_route before retrying.

Example

{
  "status": "started",
  "status_message": "Test run started. The automation is running. Use conversation.govtribe_url to open the GovTribe AI conversation and review the results.",
  "workflow_version_run_model_id": "WORKFLOW_RUN_ID",
  "eligibility": {
    "accepted": true,
    "reason": null
  },
  "out_of_credits": false,
  "buy_credits_url": null,
  "buy_credits_route": null,
  "conversation": {
    "_id": "OAI_RESPONSE_ID",
    "govtribe_type": "oai_response",
    "govtribe_url": "https://govtribe.com/workspace/WORKSPACE_ID/oai-response/OAI_RESPONSE_ID",
    "route": {
      "name": "oai-response.show",
      "params": {
        "workspace": "WORKSPACE_ID",
        "oai_response": "OAI_RESPONSE_ID"
      }
    }
  }
}