tabularia_open_picture_upload
Ask for a one-shot address to send a picture you made to, or a finished cover for an existing published Book when publicationId is supplied. For a cover, name the exact publication ID from tabularia_list_reading_sources and its Project; send JPEG or PNG (12 MB, 200–6000 pixels on each edge). The ticket refuses a changed cover and the upload returns the saved hash and cover URL. Without publicationId, send a picture to the Project’s Images when you have the bytes and no public URL for them. Send WebP if you can, since that is what Tabularia keeps, or JPEG if you cannot write WebP; PNG is taken too. A PNG or JPEG is stored as it arrives and converted to WebP the next time the Writer opens Studio. Answer with a single PUT carrying the bytes and a content-type that matches them, no heavier than the maximumBytes the answer gives (20 MB). A book has no use for more than 2048 pixels on the longest edge, so scale a larger picture down and convert it to WebP or JPEG first when you can: it uploads faster and costs the Writer less of their storage. The address works once, expires in minutes, and belongs to one Project. Use this when your host cannot hand a file to tabularia_add_picture; where it can, that one takes the picture directly and is the shorter route. It does not go in the book: the picture lands in the Writer's Images, and tabularia_place_picture puts it beside a paragraph. Send a requestId you make up for this one change, and send the same requestId if you retry it after an error or a lost answer: a retry with it answers with the first result and does not write again. A new change needs a new requestId, even when its wording is the same.
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": {
"title": "<title>"
},
"name": "tabularia_open_picture_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | The model that made the picture, recorded beside it. | |
| title | Yes | What the Writer sees the picture called. | |
| project | No | Which open Project to use, by title, id, or the Studio address the Writer sees (a tabularia.app/studio/ URL or its six-character code — the Writer’s tab URL is enough; there is no need to look at the page). Omit it when only one Project is open in Studio. | |
| requestId | No | Optional. Your own name for this one change, 1–80 letters, digits, underscores, or hyphens. Reuse it only to retry the same change with the same input. | |
| publicationId | No | For a finished published cover, the exact publication ID from tabularia_list_reading_sources. Name its Project too. This replaces only that edition’s cover with a JPEG or PNG (at most 12 MB, 200–6000 pixels on each edge). Omit for Project Images. |