Add a picture to the library
upload_to_libraryStore an image in the user's library (not in a site), so it can be used on any of their sites later. Counts against their storage.
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": {
"name": "<name>",
"base64": "<base64>"
},
"name": "upload_to_library"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | file name, e.g. logo.png | |
| base64 | Yes | the image bytes, base64 |