upload_file
Upload a photo, video or PDF to Trainzilla storage and get back its S3 key, which other tools take (health reports, PDF plan import, member photo, receipts, community media, branding logos). Pass filePath (local stdio server only) or base64 + contentType. Confirm-gated: reads/uploads only with confirm: true.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "upload_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base64 | No | File bytes, base64-encoded | |
| confirm | No | Must be true to actually execute. If false/omitted, returns a preview only. | |
| filePath | No | Absolute path on the machine running this server (not available over HTTP) | |
| contentType | No | image/*, video/* or application/pdf; inferred from the file extension if omitted |