Get profile
readtiktok.get_profilemcp: tiktok_get_profile
Get the connected TikTok account: name, username, bio, verification and counts.
No arguments.
curl -X POST https://driftglass.io/v1/tools/tiktok.get_profile/execute \
-H "Authorization: Bearer $DRIFTGLASS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"entity_id":"default","arguments":{}}'Get stats
readtiktok.get_statsmcp: tiktok_get_stats
Get the account's follower, following, like and video counts.
No arguments.
curl -X POST https://driftglass.io/v1/tools/tiktok.get_stats/execute \
-H "Authorization: Bearer $DRIFTGLASS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"entity_id":"default","arguments":{}}'List videos
readtiktok.list_videosmcp: tiktok_list_videos
List the account's public videos, newest first, with view, like, comment and share counts.
| Argument | Type | Description |
|---|
| max_count | integer | Videos per page (1-20). Default: 20 |
| cursor | integer | `next_cursor` from the previous page. |
curl -X POST https://driftglass.io/v1/tools/tiktok.list_videos/execute \
-H "Authorization: Bearer $DRIFTGLASS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"entity_id":"default","arguments":{}}'Get videos
readtiktok.get_videosmcp: tiktok_get_videos
Get specific videos of the account by id.
| Argument | Type | Description |
|---|
| video_idsrequired | string[] | Video ids (up to 20). |
curl -X POST https://driftglass.io/v1/tools/tiktok.get_videos/execute \
-H "Authorization: Bearer $DRIFTGLASS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"entity_id":"default","arguments":{"video_ids":[]}}'Get posting options
readtiktok.get_creator_infomcp: tiktok_get_creator_info
Get what the account may post right now: allowed privacy levels, maximum video length, and whether comments, duets and stitches can be on. TikTok requires checking this before posting.
No arguments.
curl -X POST https://driftglass.io/v1/tools/tiktok.get_creator_info/execute \
-H "Authorization: Bearer $DRIFTGLASS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"entity_id":"default","arguments":{}}'Post video
writetiktok.publish_videomcp: tiktok_publish_video
Post a video from a public URL directly to the account. TikTok processes it asynchronously: check get_post_status with the returned publish_id.
| Argument | Type | Description |
|---|
| video_urlrequired | string | Public URL of an MP4, MOV or WebM video. |
| caption | string | Caption with hashtags and @mentions. |
| privacy_levelrequired | string PUBLIC_TO_EVERYONE | MUTUAL_FOLLOW_FRIENDS | FOLLOWER_OF_CREATOR | SELF_ONLY | Who can see the post; must be one of the options get_creator_info returns. Until Driftglass's TikTok app passes TikTok's audit, only SELF_ONLY works. |
| disable_duet | boolean | Turn duets off. Default: false |
| disable_stitch | boolean | Turn stitches off. Default: false |
| cover_timestamp_ms | integer | Frame to use as the cover, in milliseconds. |
| disable_comment | boolean | Turn comments off. Default: false |
| brand_content_toggle | boolean | The post promotes a third party (paid partnership). Default: false |
| brand_organic_toggle | boolean | The post promotes the creator's own business. Default: false |
| is_aigc | boolean | The content is AI-generated. Default: false |
curl -X POST https://driftglass.io/v1/tools/tiktok.publish_video/execute \
-H "Authorization: Bearer $DRIFTGLASS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"entity_id":"default","arguments":{"video_url":"<video_url>","privacy_level":"<privacy_level>"}}'Post photos
writetiktok.publish_photosmcp: tiktok_publish_photos
Post 1 to 35 photos (JPEG or WebP URLs) as a TikTok photo post.
| Argument | Type | Description |
|---|
| photo_urlsrequired | string[] | Public image URLs, in order. |
| title | string | Title. |
| description | string | Description with hashtags. |
| privacy_levelrequired | string PUBLIC_TO_EVERYONE | MUTUAL_FOLLOW_FRIENDS | FOLLOWER_OF_CREATOR | SELF_ONLY | Who can see the post; must be one of the options get_creator_info returns. Until Driftglass's TikTok app passes TikTok's audit, only SELF_ONLY works. |
| cover_index | integer | Which photo is the cover (0 is the first). Default: 0 |
| auto_add_music | boolean | Let TikTok add music. Default: true |
| disable_comment | boolean | Turn comments off. Default: false |
| brand_content_toggle | boolean | The post promotes a third party (paid partnership). Default: false |
| brand_organic_toggle | boolean | The post promotes the creator's own business. Default: false |
| is_aigc | boolean | The content is AI-generated. Default: false |
curl -X POST https://driftglass.io/v1/tools/tiktok.publish_photos/execute \
-H "Authorization: Bearer $DRIFTGLASS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"entity_id":"default","arguments":{"photo_urls":[],"privacy_level":"<privacy_level>"}}'Send video to TikTok inbox
writetiktok.upload_video_draftmcp: tiktok_upload_video_draft
Send a video from a public URL to the creator's TikTok inbox, where they add sounds and effects and post it themselves.
| Argument | Type | Description |
|---|
| video_urlrequired | string | Public URL of an MP4, MOV or WebM video. |
curl -X POST https://driftglass.io/v1/tools/tiktok.upload_video_draft/execute \
-H "Authorization: Bearer $DRIFTGLASS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"entity_id":"default","arguments":{"video_url":"<video_url>"}}'Get post status
readtiktok.get_post_statusmcp: tiktok_get_post_status
Check the status of a post started with publish_video, publish_photos or upload_video_draft.
| Argument | Type | Description |
|---|
| publish_idrequired | string | publish_id from the posting action. |
curl -X POST https://driftglass.io/v1/tools/tiktok.get_post_status/execute \
-H "Authorization: Bearer $DRIFTGLASS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"entity_id":"default","arguments":{"publish_id":"<publish_id>"}}'