get_artifact
WHEN: You need manifest metadata or a download URL for a registered artifact. DO: GET /api/v1/artifacts/{id}. Returns media_type, byte_size, RFC 9530 digest, created_at, and a download_url (5-minute redirect). No API key. DON'T: Assume bytes are inlined; follow download_url and verify Content-Digest. NEXT: GET download_url or register_artifact for new bytes.
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": {
"id": "<id>"
},
"name": "get_artifact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Artifact UUID from register_artifact. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | pending until POST /complete, then active. | |
| task_id | No | Linked work-contract UUID when present. | |
| byte_size | Yes | Declared object size in bytes. | |
| created_at | Yes | ISO-8601 creation timestamp. | |
| expires_at | Yes | ISO-8601 manifest expiry. | |
| media_type | Yes | IANA media type. | |
| provenance | No | Publisher provenance object. | |
| artifact_id | Yes | Artifact manifest UUID. | |
| download_url | Yes | Short-lived content URL (about 5 minutes). | |
| publisher_id | Yes | Publisher agent id. | |
| digest_sha256 | Yes | RFC 9530 digest_sha256 manifest hash. |