inspect
Read-only. what='documents' lists the photos open in this session by image id. what='uploads' lists your uploads (from any of your signed-in connections) newest first, with their upload:<id> handles, names, sizes, when each was uploaded (uploaded_at), the image ids of those already open (open_as) and expires_at. A photo that has not been opened yet is listed with checked: false and no width or height; its size is read when open_photo first opens it. A photo the user says they already sent shows up in what='uploads'. With previews true it also shows a small picture of each of the newest 8, so you can find the one the user means ("the dog one") without opening every photo. what='fonts' lists the fonts installed on this server, optionally narrowed by filter. Uploads and open photos belong to this server; a photo opened through another Editmamei connector stays with that connector.
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": {
"what": "<what>"
},
"name": "inspect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| what | Yes | 'documents': open image ids. 'uploads': your uploads. 'fonts': installed font names. | |
| filter | No | what='fonts' only: case-insensitive substring to narrow the font names by. | |
| previews | No | what='uploads' only: also return a small picture (512 px) of each of the newest 8 uploads, to find the one the user means. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| what | No | ||
| fonts | No | ||
| total | No | ||
| default | No | ||
| samples | No | ||
| uploads | No | ||
| returned | No | ||
| documents | No | ||
| truncated | No |