Upload image
upload_imageUploads a PNG, JPEG, or GIF to UiTdatabank from a public URL or local file path and returns its ID for linking to events or organizers.
Instructions
Upload a PNG, JPEG or GIF image (at most 21 MB) to UiTdatabank and return its id. Pass either url (a public image that publiq downloads) or filePath (an absolute path on this computer; only a file the user asked you to upload). Then link the id with create_event or create_organizer (imageIds), or update_event (addImages). Uploaded images are public and cannot be deleted, only unlinked. Only upload images the user has the right to publish.
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": {
"description": "<description>",
"copyrightHolder": "<copyrightHolder>"
},
"name": "upload_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public http(s) URL of the image. publiq downloads it. | |
| filePath | No | Absolute path of an image file on this computer. | |
| language | No | Language of the description. | nl |
| description | Yes | What the image shows, in the given language. Used as alt text. | |
| isAiGenerated | No | Whether the image was made with AI. Leave out when unknown. | |
| copyrightHolder | Yes | Who holds the copyright, e.g. the photographer. Shown as attribution. |