Upload image to Pool Pro Florida media library
upload_mediaImport an image attached in ChatGPT into the Pool Pro Florida CMS media library. ChatGPT supplies a temporary download URL and file ID through its native file parameter handoff. The server downloads the image directly, validates it, strips embedded metadata by re-encoding to WebP, stores it outside Git, and returns a stable /media/... URL. This tool does not modify any page.
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": {
"file": "<file>"
},
"name": "upload_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alt | No | Accessible alt text for the image. | |
| file | Yes | ||
| tags | No | Optional media tags such as hero, riverview, or generated. | |
| source | No | Whether the image came from image generation or a user upload. | |
| caption | No | Optional media-library caption. | |
| filename | No | Optional override filename. If omitted, the filename supplied by ChatGPT is used. |