Tool details
| Field | Value |
|---|---|
| Name | get_project_trace |
| Group | Traces |
Playground
Input schema
Input schema
{
"type": "object",
"properties": {
"project_reference": {
"type": "string",
"description": "Project ID or slug"
},
"trace_id": {
"type": "string",
"description": "Trace ID to inspect."
}
},
"required": [
"project_reference",
"trace_id"
],
"additionalProperties": false,
"description": "Input schema for the get_project_trace tool.",
"$schema": "http://json-schema.org/draft-07/schema#"
}
Output schema
Output schema
{
"type": "object",
"properties": {
"trace_id": {
"type": "string",
"description": "The trace id associated with this tool result."
},
"root_span_name": {
"type": "string",
"description": "The root span name associated with this tool result."
},
"root_service": {
"type": "string",
"description": "The root service associated with this tool result."
},
"started_at": {
"type": "string",
"description": "The started at associated with this tool result."
},
"duration_ms": {
"type": "number",
"description": "The duration ms associated with this tool result."
},
"status": {
"type": "string",
"enum": [
"ok",
"error",
"unset",
"unknown"
],
"description": "Lifecycle status for the returned record."
},
"span_count": {
"type": "number",
"description": "The span count associated with this tool result."
},
"services": {
"type": "array",
"items": {
"type": "string",
"description": "One service item associated with this tool result."
},
"description": "List of services associated with this tool result."
},
"project_id": {
"type": "string",
"description": "Project identifier associated with this result."
},
"project_slug": {
"type": "string",
"description": "The project slug associated with this tool result."
},
"root_span_id": {
"type": [
"string",
"null"
],
"description": "The root span id associated with this tool result."
},
"spans": {
"type": "array",
"items": {
"type": "object",
"properties": {
"span_id": {
"type": "string",
"description": "The span id associated with this tool result."
},
"parent_span_id": {
"type": [
"string",
"null"
],
"description": "The parent span id associated with this tool result."
},
"name": {
"type": "string",
"description": "Human-readable name for the returned record."
},
"service": {
"type": "string",
"description": "The service associated with this tool result."
},
"started_at": {
"type": "string",
"description": "The started at associated with this tool result."
},
"ended_at": {
"type": [
"string",
"null"
],
"description": "The ended at associated with this tool result."
},
"duration_ms": {
"type": "number",
"description": "The duration ms associated with this tool result."
},
"status": {
"type": "string",
"enum": [
"ok",
"error",
"unset",
"unknown"
],
"description": "Lifecycle status for the returned record."
},
"attributes": {
"type": "object",
"additionalProperties": {
"type": "string",
"description": "Additional structured values associated with this result."
},
"description": "Structured attributes details associated with this tool result."
},
"events": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Human-readable name for the returned record."
},
"timestamp": {
"type": "string",
"description": "The timestamp associated with this tool result."
},
"attributes": {
"type": "object",
"additionalProperties": {
"type": "string",
"description": "Additional structured values associated with this result."
},
"description": "Structured attributes details associated with this tool result."
}
},
"required": [
"name",
"timestamp",
"attributes"
],
"additionalProperties": false,
"description": "One event item associated with this tool result."
},
"description": "List of events associated with this tool result."
}
},
"required": [
"span_id",
"parent_span_id",
"name",
"service",
"started_at",
"ended_at",
"duration_ms",
"status",
"attributes",
"events"
],
"additionalProperties": false,
"description": "One span item associated with this tool result."
},
"description": "List of spans associated with this tool result."
}
},
"required": [
"trace_id",
"root_span_name",
"root_service",
"started_at",
"duration_ms",
"status",
"span_count",
"services",
"project_id",
"root_span_id",
"spans"
],
"additionalProperties": false,
"description": "Structured result returned by the get_project_trace tool.",
"$schema": "http://json-schema.org/draft-07/schema#"
}