Payaion
v1.2.2Agent file transfer. No API key to start; price downloads in USDC on Base.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
upload_file Upload File
Low-level upload. Prefer the 'transfer' tool instead — it handles polling automatically. This tool returns immediately with PENDING_UPLOAD status; you must poll get_upload_status yourself. Max file size follows the account plan (Basic 500 MB / Pro 1 GB). Provide EITHER 'filePath' (local stdio only) OR 'content' (base64). Use only when you need explicit control over the upload lifecycle.Over stdio no API key is required: without one you upload as a guest (100 MB, 24-hour link); a key raises the limits and lets you sell.
| Parameter | Type | Description |
|---|---|---|
content | string | Base64-encoded file content (standard or URL-safe base64) |
fileName | string | Original filename with extension (e.g. report.pdf). Required when using 'content', optional for 'filePath' (derived from path). |
filePath | string | Absolute path to a local file. Only works when this MCP server runs locally (stdio transport). Preferred over base64 — zero tokens wasted. |
idempotencyKey | string | Unique key for retry-safe uploads. Needs an API key; ignored without one. |
mimeType | string | MIME type override (auto-detected if omitted) |
payoutAddress | string | Wallet that a priced download pays out to. Only for running without an API key — it is what lets you sell with no account. Ignored when a key is set, because that account's payout address is a dashb… |
pricePerDownload | number | Price per download in USD (e.g. 0.50 or 0.00005). When set, downloaders pay this amount in USDC. Omit for free downloads. |
upload_from_url Upload from URL
Low-level upload from URL. Prefer the 'transfer' tool instead — it handles polling automatically. This tool returns immediately with PENDING_UPLOAD status; you must poll get_upload_status yourself. Max file size follows the account plan (Basic 500 MB / Pro 1 GB). Private/internal URLs are blocked. Use only when you need explicit control over the upload lifecycle.Over stdio no API key is required: without one you upload as a guest (100 MB, 24-hour link); a key raises the limits and lets you sell.
| Parameter | Type | Description |
|---|---|---|
url * | string | Public HTTPS URL of the file to upload |
fileName | string | Optional filename override (derived from URL if omitted) |
idempotencyKey | string | Unique key for retry-safe uploads. Needs an API key; ignored without one. |
payoutAddress | string | Wallet that a priced download pays out to. Only for running without an API key — it is what lets you sell with no account. Ignored when a key is set, because that account's payout address is a dashb… |
pricePerDownload | number | Price per download in USD (e.g. 0.50 or 0.00005). When set, downloaders pay this amount in USDC. Omit for free downloads. |
transfer Transfer File
One-shot file transfer with optional pricing and marketplace listing. Upload a file, set a per-download price, and list on the marketplace — all in a single call. Returns a shareable download URL. Supports free transfers, paid downloads, and marketplace listings. Provide EXACTLY ONE of: 'filePath' (local stdio — zero tokens), 'url' (remote fetch), or 'content' (base64 fallback).Over stdio no API key is required: without one you upload as a guest (100 MB, 24-hour link); a key raises the limits and lets you sell.
| Parameter | Type | Description |
|---|---|---|
content | string | Base64-encoded file content (fallback when filePath and url are unavailable). |
fileName | string | Filename with extension. Required for 'content', optional for 'url'. |
filePath | string | Absolute path to a local file (stdio transport only — zero token cost). |
idempotencyKey | string | Unique key for retry-safe transfers. Needs an API key; ignored without one. |
listingCategory | string | Marketplace category. |
listingDescription | string | What the buyer gets (40–500 chars). Required when listingTitle is set. |
listingTags | array | Discovery tags (max 8, alphanumeric + dash). |
listingTitle | string | Marketplace listing title (3–120 chars). When set, auto-lists the file on the marketplace once ready. |
mimeType | string | MIME type override (auto-detected if omitted). |
payoutAddress | string | Wallet that a priced download pays out to. Only for running without an API key — it is what lets you sell with no account. Ignored when a key is set, because that account's payout address is a dashb… |
pricePerDownload | number | Price per download in USD (e.g. 0.50). Downloaders pay in USDC. Omit or 0 for free. |
url | string | Public HTTPS URL of the file to upload (server fetches it directly — no token cost). |
get_upload_status Get Upload Status
Check the processing status of a previously uploaded file. Returns the current status (PENDING_UPLOAD, UPLOADING, READY, FAILED) and whether the file is ready for download. Rarely needed — the 'transfer' tool handles polling automatically. Use this only to check on uploads that timed out or for manual status inspection.Over stdio no API key is required: without one you upload as a guest (100 MB, 24-hour link); a key raises the limits and lets you sell.
| Parameter | Type | Description |
|---|---|---|
uploadId * | string | Upload ID returned from upload_file or upload_from_url (e.g. up_a1b2c3d4e5f6g7h8) |
get_download_url Get Download URL
Get a fresh shareable download URL for a previously uploaded file. The file must be in READY status. Share this URL with anyone — it works without authentication. Requires an API key: a keyless caller cannot fetch a link for an upload it cannot prove it owns. Keep the downloadUrl returned by the upload instead — it belongs to the file, not the caller.
| Parameter | Type | Description |
|---|---|---|
uploadId * | string | Upload ID returned from upload_file or upload_from_url (e.g. up_a1b2c3d4e5f6g7h8) |
list_on_marketplace List on Marketplace
List an already-uploaded file on the public Payaion marketplace. The upload must be READY status and have a price set. Returns the market listing page URL (/m/<hash>) where buyers can view details and buy. Requires the agent key owner to own the upload.
| Parameter | Type | Description |
|---|---|---|
description * | string | What the buyer gets (40–500 characters). Required. |
title * | string | Listing title (3–120 characters). |
uploadId * | string | Upload ID to list (e.g. up_a1b2c3d4e5f6g7h8) |
category | string | Optional file category |
tags | array | Optional tags for discoverability (max 8, alphanumeric with hyphens) |
delist_from_marketplace Delist from Marketplace
Take your listing off the public Payaion marketplace. The file itself is not deleted and its share link keeps working. Buyers who already paid keep their download access for the rest of their 30-day window. Requires the agent key owner to own the listing.
| Parameter | Type | Description |
|---|---|---|
uploadId * | string | Upload ID whose listing to remove (e.g. up_a1b2c3d4e5f6g7h8) |
browse_marketplace Browse Marketplace
Search and browse active listings on the Payaion marketplace. Filter by keyword, category, and paginate through results. Returns listing details including title, price, file info, and the market page URL (/m/<hash>). No API key required over stdio.
| Parameter | Type | Description |
|---|---|---|
category | string | Filter by category. |
page | integer | Page number (default 1, max 100). |
pageSize | integer | Results per page (default 20, max 100). |
q | string | Search query — matches title and description (max 100 chars). |
get_payment_requirements Get Payment Requirements
Retrieve payment requirements for a marketplace asset before purchasing. Returns whether the asset is free or paid. For paid assets, includes the x402 payment requirements object that must be signed by the buyer's wallet and passed to the purchase_asset tool.
| Parameter | Type | Description |
|---|---|---|
uploadId * | string | Upload ID of the marketplace asset to check payment requirements for. |
purchase_asset Purchase Asset
Finalize the purchase of a paid marketplace asset. Requires a signed x402 payment payload from the buyer's wallet. First call get_payment_requirements to obtain the payment requirements, sign them with your EVM wallet, then pass the signed payload here. Returns the purchase receipt including a directDownloadUrl — you can GET that URL with your X-Aion-Key header to download the file immediately, no extra steps needed.
| Parameter | Type | Description |
|---|---|---|
paymentPayload * | object | Signed x402 payment payload from the buyer's wallet. |
uploadId * | string | Upload ID of the marketplace asset to purchase. |
list_storage List Storage
List the account's storage: every folder (with its full path and file count) plus the files inside one folder. Omit folderId to list files sitting at the root. Also returns bytes used against the plan limit. Start here before moving, renaming or deleting anything — the ids it returns are what the other folder tools take.
| Parameter | Type | Description |
|---|---|---|
folderId | string | Folder to list files from. Omit (or pass 'root') for the storage root. |
create_folder Create Folder
Create a storage folder. Pass parentId to nest it inside another folder (up to 8 levels), or omit it for a top-level folder. Names are unique among siblings and cannot contain slashes.
| Parameter | Type | Description |
|---|---|---|
name * | string | Folder name (1-64 characters, no slashes) |
parentId | string | Parent folder id. Omit for a top-level folder. |
update_folder Rename or Move Folder
Rename a folder, move it under a different parent, or both. Pass parentId: null to move it back to the top level. A folder cannot be moved inside itself or its own subfolders.
| Parameter | Type | Description |
|---|---|---|
folderId * | string | Folder id (uuid) as returned by list_storage or create_folder |
name | string | New name (omit to keep the current one) |
parentId | New parent folder id; null or 'root' moves it to the top level. Omit to leave the parent unchanged. |
delete_folder Delete Folder
Delete a folder and its subfolders. Files are NOT deleted — they move back to the storage root. Deleting the files themselves is a separate, explicit action.
| Parameter | Type | Description |
|---|---|---|
folderId * | string | Folder id (uuid) as returned by list_storage or create_folder |
move_file Move File to Folder
Move an uploaded file into a folder, or pass folderId: null to move it back to the storage root. This only re-files the item — the share link, price and expiry stay exactly as they were.
| Parameter | Type | Description |
|---|---|---|
folderId * | Destination folder id, or null/'root' for the storage root | |
uploadId * | string | Upload id (e.g. up_a1b2c3d4e5f6g7h8) |