Write or improve a caption
generate_captionWrites one caption with the caption assistant (a paid plan or the trial; limited to 10 an hour per person), or rewrites a draft you pass as caption. prompt is what the post is about, or with caption, what to change. platforms are the networks it is for: the caption is written for the strictest limit among them so it fits all, and for X's when none are given. Nothing is saved or posted; check_limits and create_post come after.
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": "generate_caption"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | No | What the post is about, or what to change in caption. | |
| caption | No | An existing draft to improve. | |
| platforms | No | Networks the caption is for. | |
| organizationId | No | Which organization to act in: an id from list_organizations. Leave out for this connection's default organization. |