Succeed run

Succeed a run.

Arguments

  • run_idstring · uuid

    Run for a terminal action. A fresh or different terminal request against an already-terminal run or stale execution generation returns 409. Retrying the identical request with the same idempotency key returns its stored result after replay authorization. Defaults to the current execution when omitted.

  • idempotency_keystring · min length 1 · max length 128

    Retry key for this operation, 1–128 characters. Overrides the HTTP header. If both are omitted, a new key is generated for each call; supply a key to retry safely.

  • inputobjectrequired

    Final output for a successful run.

Responses

curl -X POST -N "https://api.veryfront.com/mcp" \  -H "Authorization: Bearer $VERYFRONT_API_KEY" \  -H "Accept: application/json, text/event-stream" \  -H "Content-Type: application/json" \  -d '{  "jsonrpc": "2.0",  "id": 1,  "method": "tools/call",  "params": {    "name": "veryfront__succeed_run",    "arguments": {      "input": {        "output": null      }    }  }}'
{  "jsonrpc": "2.0",  "id": 1,  "result": {    "content": [      {        "type": "text",        "text": "{\"id\":\"00000000-0000-0000-0000-000000000000\",\"run_id\":\"string\",\"status\":\"pending\",\"project_id\":\"00000000-0000-0000-0000-000000000000\",\"target\":{\"type\":\"agent\",\"agent_kind\":\"project\",\"name\":\"string\",\"id\":\"string\"},\"input\":null,\"output\":null,\"error\":{\"code\":\"string\",\"message\":\"string\",\"details\":{}},\"title\":\"string\",\"labels\":{},\"parent_run_id\":\"00000000-0000-0000-0000-000000000000\",\"root_run_id\":\"00000000-0000-0000-0000-000000000000\",\"created_at\":\"2026-01-01T00:00:00Z\",\"updated_at\":\"2026-01-01T00:00:00Z\",\"started_at\":\"2026-01-01T00:00:00Z\",\"finished_at\":\"2026-01-01T00:00:00Z\",\"config\":{},\"execution\":{\"id\":\"00000000-0000-0000-0000-000000000000\",\"runtime_instance\":{\"id\":\"00000000-0000-0000-0000-000000000000\",\"name\":\"string\",\"mode\":\"service\"},\"runtime\":{\"type\":\"main_branch\"},\"timeout_seconds\":1,\"retry_limit\":0,\"attempt\":1,\"exit_code\":0,\"duration_ms\":0,\"tool_error_count\":0,\"logs\":\"string\",\"start_mode\":\"string\",\"worker\":{\"id\":\"00000000-0000-0000-0000-000000000000\",\"name\":\"string\",\"worker_key\":\"string\",\"implementation_kind\":\"string\",\"claimed_at\":\"2026-01-01T00:00:00Z\"}},\"control\":{\"waiting\":{\"resume_at\":\"2026-01-01T00:00:00Z\",\"reason\":\"manual_pause\"},\"pause\":{\"requested_at\":\"2026-01-01T00:00:00Z\"},\"cancellation\":{\"requested_at\":\"2026-01-01T00:00:00Z\",\"stopped_at\":\"2026-01-01T00:00:00Z\"}},\"task_id\":\"string\",\"conversation_id\":\"00000000-0000-0000-0000-000000000000\",\"input_message_id\":\"00000000-0000-0000-0000-000000000000\",\"output_message_id\":\"00000000-0000-0000-0000-000000000000\",\"batch_id\":\"00000000-0000-0000-0000-000000000000\",\"trigger\":{\"type\":\"user\",\"id\":\"00000000-0000-0000-0000-000000000000\"},\"usage\":{\"funding\":\"managed\",\"tokens\":{\"input\":0,\"output\":0,\"cache\":{\"read\":0,\"write\":0},\"reasoning\":0,\"total\":0},\"cost\":{\"currency\":\"EUR\",\"status\":\"estimated\",\"provider\":\"string\",\"platform\":\"string\",\"total\":\"string\",\"credits\":\"string\"},\"model_calls\":0,\"capture_status\":\"complete\"},\"descendants\":{\"total\":0,\"active\":0,\"has_failures\":false,\"usage\":{\"funding\":\"managed\",\"tokens\":{\"input\":0,\"output\":0,\"cache\":{\"read\":0,\"write\":0},\"reasoning\":0,\"total\":0},\"cost\":{\"currency\":\"EUR\",\"status\":\"estimated\",\"provider\":\"string\",\"platform\":\"string\",\"total\":\"string\",\"credits\":\"string\"},\"model_calls\":0,\"capture_status\":\"complete\"}},\"artifacts\":[{\"artifact_id\":\"string\",\"type\":\"string\",\"media_type\":\"string\",\"size_bytes\":0,\"sha256\":\"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"href\":\"https://example.com\"}],\"schemas\":{\"input\":{\"schema\":false,\"sha256\":\"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\"},\"output\":{\"schema\":false,\"sha256\":\"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\"}},\"metadata\":{}}"      }    ],    "structuredContent": {      "id": "00000000-0000-0000-0000-000000000000",      "run_id": "string",      "status": "pending",      "project_id": "00000000-0000-0000-0000-000000000000",      "target": {        "type": "agent",        "agent_kind": "project",        "name": "string",        "id": "string"      },      "input": null,      "output": null,      "error": {        "code": "string",        "message": "string",        "details": {}      },      "title": "string",      "labels": {},      "parent_run_id": "00000000-0000-0000-0000-000000000000",      "root_run_id": "00000000-0000-0000-0000-000000000000",      "created_at": "2026-01-01T00:00:00Z",      "updated_at": "2026-01-01T00:00:00Z",      "started_at": "2026-01-01T00:00:00Z",      "finished_at": "2026-01-01T00:00:00Z",      "config": {},      "execution": {        "id": "00000000-0000-0000-0000-000000000000",        "runtime_instance": {          "id": "00000000-0000-0000-0000-000000000000",          "name": "string",          "mode": "service"        },        "runtime": {          "type": "main_branch"        },        "timeout_seconds": 1,        "retry_limit": 0,        "attempt": 1,        "exit_code": 0,        "duration_ms": 0,        "tool_error_count": 0,        "logs": "string",        "start_mode": "string",        "worker": {          "id": "00000000-0000-0000-0000-000000000000",          "name": "string",          "worker_key": "string",          "implementation_kind": "string",          "claimed_at": "2026-01-01T00:00:00Z"        }      },      "control": {        "waiting": {          "resume_at": "2026-01-01T00:00:00Z",          "reason": "manual_pause"        },        "pause": {          "requested_at": "2026-01-01T00:00:00Z"        },        "cancellation": {          "requested_at": "2026-01-01T00:00:00Z",          "stopped_at": "2026-01-01T00:00:00Z"        }      },      "task_id": "string",      "conversation_id": "00000000-0000-0000-0000-000000000000",      "input_message_id": "00000000-0000-0000-0000-000000000000",      "output_message_id": "00000000-0000-0000-0000-000000000000",      "batch_id": "00000000-0000-0000-0000-000000000000",      "trigger": {        "type": "user",        "id": "00000000-0000-0000-0000-000000000000"      },      "usage": {        "funding": "managed",        "tokens": {          "input": 0,          "output": 0,          "cache": {            "read": 0,            "write": 0          },          "reasoning": 0,          "total": 0        },        "cost": {          "currency": "EUR",          "status": "estimated",          "provider": "string",          "platform": "string",          "total": "string",          "credits": "string"        },        "model_calls": 0,        "capture_status": "complete"      },      "descendants": {        "total": 0,        "active": 0,        "has_failures": false,        "usage": {          "funding": "managed",          "tokens": {            "input": 0,            "output": 0,            "cache": {              "read": 0,              "write": 0            },            "reasoning": 0,            "total": 0          },          "cost": {            "currency": "EUR",            "status": "estimated",            "provider": "string",            "platform": "string",            "total": "string",            "credits": "string"          },          "model_calls": 0,          "capture_status": "complete"        }      },      "artifacts": [        {          "artifact_id": "string",          "type": "string",          "media_type": "string",          "size_bytes": 0,          "sha256": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",          "href": "https://example.com"        }      ],      "schemas": {        "input": {          "schema": false,          "sha256": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"        },        "output": {          "schema": false,          "sha256": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"        }      },      "metadata": {}    }  }}

The tool ran; its output is result.structuredContent.