GetGraphArtifact
Fetch a graph artifact by its digest, the same lookup that rover graph-artifact fetch --digest performs.
A graph artifact is the build output, such as the composed supergraph schema, that GraphOS Router fetches from Apollo's OCI registry.
Returns the artifact's ID, digest, status (GRAPH_ARTIFACT_COMPLETED, GRAPH_ARTIFACT_PENDING, or GRAPH_ARTIFACT_FAILED), build errors, timestamps, variant, the launch that produced it, its registry URI, and the tags assigned to it.
To find a digest from a tag name, use GetGraphArtifactTags.
Provide the graph ID and the digest.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"graphId": "<graphId>",
"digest": "<digest>"
},
"name": "GetGraphArtifact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| digest | Yes | The digest (SHA) of the graph artifact | |
| graphId | Yes | The ID of the graph the graph artifact belongs to |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| errors | No | ||
| extensions | No |