retrieve
Retrieve file content from decentralized MEFS storage using a Content ID (CID). Returns data as base64-encoded string.
Instructions
Retrieve a file from MEFS storage by its CID (Content ID). Returns the file content as a base64 encoded string.
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": {
"cid": "<cid>"
},
"name": "retrieve"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cid | Yes | The Content ID (CID) of the file to retrieve from MEFS | |
| key | No | Decryption key for encrypted files (optional, defaults to f1d4a0b37124c3a7 if file is not public) |