Get Artifact
swarm_get_artifactRead metadata, hash and availability using an ID from swarm_list_artifacts. Fetch the body with swarm_get_artifact_content; provenance with swarm_get_artifact_sources.
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": {
"artifact_id": "<artifact_id>"
},
"name": "swarm_get_artifact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| artifact_id | Yes | Artifact ID from swarm_list_artifacts. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||