mdl_upload_image
Upload a JPEG/PNG/WebP image as base64 to MyDramaList for profile or feed use, returning its upstream filename.
Instructions
Upload a JPEG/PNG/WebP as base64 (max 5 MiB), returning its upstream filename.
target=profile uploads only; call mdl_account_map_profile_picture to apply it. target=feed uploads only; use returned metadata in a requested feed post.
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": {
"target": "<target>",
"image_base64": "<image_base64>"
},
"name": "mdl_upload_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | ||
| filename | No | photo.jpg | |
| image_base64 | Yes |