Post or schedule on social networks
publish_creationUse this when the user wants a finished Deepnia creation posted on their social accounts, now or at a time they choose: Deepnia posts it with their caption (no credits). Confirm the accounts, caption and time with the user first; for TikTok, ask them to accept TikTok's music and content rules (tiktok_consent).
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": {
"media_url": "<media_url>",
"account_ids": "<account_ids>",
"caption": "<caption>"
},
"name": "publish_creation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| caption | Yes | The post text with its hashtags, in the user's language. | |
| timezone | No | The user's IANA time zone, for example Africa/Abidjan. | |
| media_url | Yes | The result link of a completed creation (get_creation or list_my_creations). | |
| account_ids | Yes | Account ids from list_social_accounts. | |
| scheduled_for | No | ISO 8601 time with its offset, at least 2 minutes ahead, to schedule. Absent: posted now. | |
| tiktok_consent | No | true once the user accepted TikTok's music and content rules. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | ||
| post_id | Yes | ||
| manage_url | Yes | ||
| scheduled_for | Yes |