muninn_picture_upload_direct
Save the photos the user asked you to save, when YOU can already read them: photos the user attached in this chat and asked to keep in Muninn. Only upload the files the user named or attached for saving. Never search folders or the disk for other images, and never upload a file the user did not ask to save. Needs network access to https://munn.is; if your code cannot reach it, use muninn_picture_upload_start so the user picks them instead. Returns {memoryId, endpoint, header, how, expiresAt, maxFiles}. Upload each photo with one POST to endpoint, multipart/form-data with two file fields: 'orig' (the photo bytes, unchanged) and 'thumb' (a JPEG you make, long edge 480 px, at most 100 KB), plus the header. Up to 7 photos, JPEG, PNG or WebP, 10 MB each, within 15 minutes. Then call muninn_picture_view with memoryId and muninn_picture_upload_finish. Nothing is a memory until finish runs.
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": "muninn_picture_upload_direct"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxFiles | No | How many photos this memory will hold, 1 to 7. Omit for 7. |