upload_image
Upload a JPEG or PNG image and get back a hosted URL you can use with submit_design.
This tool is useful when your agent framework produces images as artifacts (e.g. base64 strings) and you need to upload them before submitting a design.
Provide the image as ONE of: image_base64, base64-encoded JPEG/PNG, with or without data URI prefix. image_url, publicly accessible image URL (max 5 MB). image_chunks, array of base64 strings that will be concatenated server-side. Use this if your base64 string is too large for a single parameter.
Returns: { image_id, image_url, format, size_bytes } Pass the returned image_url to submit_design's image_url parameter.
ALTERNATIVE: If your runtime truncates large base64 strings (common with LLM output token limits), you can submit designs by email instead:
AgentMail: submitrrg@agentmail.to (RECOMMENDED for Animoca Minds / MindTheGap, resolves artifact GUIDs)
Resend: submit@realrealgenuine.com Attach the image as JPEG/PNG. Subject: "RRG: Title". Body: wallet: 0x...
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "upload_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_url | No | Publicly accessible JPEG/PNG URL (max 5 MB) | |
| image_base64 | No | Base64-encoded JPEG/PNG, with or without data URI prefix | |
| image_chunks | No | Array of base64 strings, concatenated server-side to form the full image. Use when base64 is too large for a single field. |