Example prompt
“Import the screen recording linked in the changes in this branch and draft a TikTok with a caption a non-developer would follow. Leave privacy for me to choose.”
Codex + Wahlu
Connect Codex to Wahlu once, then plan, draft and schedule posts for TikTok accounts connected to Wahlu from the Codex CLI, IDE extension and app. Every schedule can wait for your approval.
Video
One video with a caption.
Photo
One image. The first 90 characters of the caption become its title.
Photo carousel
Two to 35 images.
Example prompts and the steps to expect. These are illustrations, not recorded conversations.
Example prompt
“Import the screen recording linked in the changes in this branch and draft a TikTok with a caption a non-developer would follow. Leave privacy for me to choose.”
Example prompt
“Draft a TikTok about the changes in this branch. It was edited with AI tools, so label it as AI-generated, and run a readiness check before you schedule anything.”
Example prompt
“Show me the TikTok schedule for the next two weeks, then suggest a slot for a post about the changes in this branch.”
Codex works through Wahlu's tools, so it can set the TikTok options Wahlu supports.
TikTok posts need your agreement to TikTok's publishing terms before they can go out, and Wahlu never picks a privacy setting for you.
list_targetsFinds the brand's connected TikTok account and checks it's ready.
upload_media, import_media_from_url or list_mediaBrings in the image or video, or picks one from your media library.
create_draftCreates the draft with its caption and tiktok_settings, such as the post type.
refresh_target_dynamic_optionsAsks TikTok which privacy options your account allows right now.
update_draft_tiktok_privacySets one of those options on the draft.
preflight_draftChecks the draft against TikTok's rules without changing it.
create_schedulePuts it on the calendar at pending_review, held for your approval.
Wahlu checks these before a post is scheduled, so the agent finds out early.
Video captions up to 2,200 characters.
TikTok: Direct Post referencePhoto posts take a description of up to 4,000 characters and a title of up to 90.
TikTok: photo post referenceVideos can be MP4, MOV or WebM, up to 4 GB, 360 to 4,096 pixels on each side, at 23 to 60 frames per second.
TikTok: media transfer guidePhotos can be JPEG or WebP, up to 20 MB each.
TikTok: media transfer guideThe privacy options each account can use come from TikTok, and can differ between accounts.
TikTok: Direct Post referenceThe agent can read a file in your project and upload it with upload_media. Files over 8 MB, including most video, go to a short-lived upload link the agent sends the file to. Public links and your media library work too.
Set this up once and Codex can work on every network you've connected, not just TikTok.
Run codex mcp add to add Wahlu. It's saved in ~/.codex/config.toml, which the Codex CLI, IDE extension and app share.
Run codex mcp login wahlu and sign in to Wahlu in the browser that opens.
Start a new Codex session so it picks up Wahlu's tools.
Checked against the Codex docs on 27 September 2026. Menus can change; if a step doesn't match what you see, follow the vendor's current instructions.
codex mcp add wahlu --url https://mcp.wahlu.com/mcp
codex mcp login wahluIn the Codex IDE extension or app you can add it from the gear menu instead: MCP servers → Add server, choose Streamable HTTP and paste the URL, then restart. Codex signs in with a Client ID Metadata Document, which is what Wahlu uses.
Every Wahlu plan includes agent access, through MCP and the API. You choose the workspace, brands and permissions each connection gets, and can disconnect it at any time.
Agents create schedules at pending_review unless you've told them to publish. A held schedule can't publish until you approve it in the Wahlu calendar.
Publish to social accounts is separate from Manage your schedule. Leave it unticked and nothing your agent schedules can go out on its own.
preflight_draft reports anything that would stop a post, such as media the network won't accept or a caption that's too long, without changing anything.
Queues, general edits to existing drafts, approvals and connecting social accounts happen in the Wahlu app, not through your agent.
Connect your TikTok account in Wahlu, then give Codex a specific brief.