spraay_storage_pin
Pin data to IPFS via Pinata for permanent decentralized storage. Returns a CID for retrieval. Supports text, JSON, and base64 content with a cost of $0.005 USDC.
Instructions
Pin content to IPFS via Pinata for permanent decentralized storage. Returns CID (content identifier) for retrieval. Supports text, JSON, and base64 data. Costs $0.005 USDC.
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": {
"data": "<data>"
},
"name": "spraay_storage_pin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Content to pin — JSON string, plain text, or base64-encoded binary | |
| provider | No | Storage provider (default: 'ipfs') | |
| contentType | No | MIME type (default: 'application/octet-stream', e.g. 'application/json', 'text/plain') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | True when the gateway call succeeded; false when it returned an error. | |
| data | No | The gateway response payload on success. The exact shape depends on the tool (see the tool description and the JSON in the text content block). | |
| error | No | Human-readable error message, present only when ok is false. |