create_test_from_url
Copy a post link and test spin-offs of it. Saves the post as inspiration (same reading rules as add_inspiration; an Instagram Reel or post link works as a source, spin-offs are still written for the text networks), writes 2 to 5 new posts on the same idea in the workspace's own voice (its recent posts are read first; no dashes, 0 to 1 hashtag, no links or mentions, never a copy of the source), and creates one draft per variant. Drafts wait in the approval queue (list_approvals, approve_draft) unless the workspace turned on auto-schedule AND this connection may publish. Pass destination_url to give each variant its own tracked short link, so test_results can show clicks, signups and paid per variant. Each call uses the workspace's monthly AI allowance (get_ai_usage); a 429 means it is used up until the 1st, and the answer says where the workspace can add its own key. Returns the test with its variants and draft ids. CAPABILITY: draft: creates content that cannot reach an audience on its own. Safe for a draft-only agent token.
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": "create_test_from_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Link to the post to spin off, e.g. https://x.com/name/status/1234567890. Omit when inspiration_id is given. | |
| text | No | Text of the source post as the user copied it, for networks that do not share it (Threads, LinkedIn, other sites). | |
| hook_ids | No | Up to 5 hook ids from list_hooks. Some variants open with the same kind of first line, in new words. | |
| networks | No | Networks to write for, up to 3. Default ["twitter"] (x is accepted as twitter). Text networks only: Instagram, TikTok and YouTube need a media file, so they are not offered. | |
| variants | No | Spin-offs per network. Default 3. | |
| direction | No | Optional steer from the user in one sentence, e.g. "from the point of view of a solo founder". | |
| account_ids | No | Integration ids from list_integrations to post from. Needed when the workspace has more than one account on a chosen network, otherwise approval is refused as ambiguous. | |
| inspiration_id | No | Use a post already saved (list_inspiration) instead of a URL. | |
| destination_url | No | https link every variant should send people to. Each variant gets its own tracked short link to it. |