foto_publish_post
Publishes a single photo post to Foto by normalizing resolution, scrubbing GPS data, uploading to Storage, passing moderation, and creating the post; use dryRun=true to test without publishing.
Instructions
Publish a single photo post to Foto. Automatically normalizes resolution (max 1820px, JPEG 80%), scrubs GPS for privacy, uploads to Storage, passes moderation, and creates the post. Use dryRun=true to test locally without publishing.
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": {
"filePath": "<filePath>",
"caption": "<caption>",
"tags": "<tags>"
},
"name": "foto_publish_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | Yes | 1 to 3 tags chosen from Foto's curated whitelist | |
| dryRun | No | If true, validates and prepares image without uploading or requiring login | |
| caption | Yes | The post caption or narrative description | |
| filePath | Yes | Absolute file path to local photo |