publish_image
Publish a single-image Instagram feed post now from a public HTTPS JPEG. Store campaign, variant, and hypothesis locally for A/B comparison.
Instructions
Publish a single-image feed post now. Image must be a public HTTPS JPEG (Instagram's API does not take PNG) with an aspect ratio between 4:5 and 1.91:1. campaign/variant/hypothesis are stored locally for A/B comparison.
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": {
"image_url": "<image_url>"
},
"name": "publish_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| caption | No | ||
| variant | No | ||
| alt_text | No | ||
| campaign | No | ||
| image_url | Yes | ||
| hypothesis | No | ||
| location_id | No | ||
| collaborators | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |