get_artifact_metadata
Retrieve an artifact's metadata by its SHA-256 digest without downloading the file bytes. Use it to check filename, size, MIME type, kind, and upload details.
Instructions
Return one artifact's metadata by its SHA-256 digest: id, sha256, size_bytes, mime_type, filename, kind, uploaded_by and created_at, without the bytes (get_artifact returns metadata plus content_base64). An artifact from another workspace, or one tied only to a private channel or DM you cannot read, is NotFound, the same as a missing one. A malformed digest is refused as invalid. Find digests with list_thread_artifacts or in an upload result. Requires workspace:read.
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": {
"sha256": "<sha256>"
},
"name": "get_artifact_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sha256 | Yes | SHA-256 of the artifact bytes as a 64-character hexadecimal string. A malformed value is refused rather than reported as not found. |