open_upload

Open a drop zone for photos with Wavegrain's MCP server: the open_upload tool needs the write permission. Inputs, outputs and an example call.

Open a drop zone for photos. Permission: write. Changes saved work.

Show a drop zone in the chat for the user's photos, when you cannot read their files yourself. Free.

Inputs

InputTypeRequiredNotes
collectionIdstringnoSave the dropped photos into this existing collection. up to 200 characters
newCollectionobjectnoMake a new collection and add them to it, instead of collectionId.

The fields inside an object or a list are in the JSON Schema at /developers/mcp-tools.json.

Returns

FieldTypeNotes
uploadobjectWhere the user's files will go.
notestringWhat to tell the user.

Example call

Send it to POST https://wavegrain.com/api/mcp with an access key that has the write permission; Authentication shows how to make one.

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "open_upload",
    "arguments": {}
  }
}

Something wrong or missing? Write to support@wavegrain.com.