Get trace

Get a trace. Requires project.logs.read.

Arguments

  • project_referencestring

    Project ID or slug

  • trace_idstringrequired

    Trace ID to inspect.

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__get_project_trace",    "arguments": {      "trace_id": "string"    }  }}'
{  "jsonrpc": "2.0",  "id": 1,  "result": {    "content": [      {        "type": "text",        "text": "{\"trace_id\":\"string\",\"root_span_name\":\"string\",\"root_service\":\"string\",\"started_at\":\"string\",\"duration_ms\":0,\"status\":\"ok\",\"span_count\":0,\"services\":[\"string\"],\"project_id\":\"string\",\"project_slug\":\"string\",\"environment\":\"string\",\"host\":\"string\",\"root_span_id\":\"string\",\"spans\":[{\"span_id\":\"string\",\"parent_span_id\":\"string\",\"name\":\"string\",\"service\":\"string\",\"started_at\":\"string\",\"ended_at\":\"string\",\"duration_ms\":0,\"status\":\"ok\",\"status_message\":\"string\",\"attributes\":{},\"events\":[{\"name\":\"string\",\"timestamp\":\"string\",\"attributes\":{}}]}]}"      }    ],    "structuredContent": {      "trace_id": "string",      "root_span_name": "string",      "root_service": "string",      "started_at": "string",      "duration_ms": 0,      "status": "ok",      "span_count": 0,      "services": [        "string"      ],      "project_id": "string",      "project_slug": "string",      "environment": "string",      "host": "string",      "root_span_id": "string",      "spans": [        {          "span_id": "string",          "parent_span_id": "string",          "name": "string",          "service": "string",          "started_at": "string",          "ended_at": "string",          "duration_ms": 0,          "status": "ok",          "status_message": "string",          "attributes": {},          "events": [            {              "name": "string",              "timestamp": "string",              "attributes": {}            }          ]        }      ]    }  }}

The tool ran; its output is result.structuredContent.