# solari tiktok content batch

> 最大100件のTikTok投稿idを1回の呼び出しで取得します。

- **CLI**: `solari tiktok content batch`
- **MCP ツール**: `solari_tiktok_content_batch`
- **アクセス権**: `solari:read` — サインイン済みの SOLARI アカウントであれば利用できます。

solari_tiktok_content_detailのバッチ版。SOLARIの投稿UUIDを指定して、最大100件のTikTok投稿を1回の呼び出しで取得します。アイテムの形はsolari_tiktok_account_postsのエントリと同じ。未追跡のidは省かれるため、foundはリクエストした数より少なくなることがあります。文字起こしは長いため、include_transcriptはデフォルトで無効。solari_tiktok_account_posts、solari_tiktok_content_search、solari_tiktok_account_profileから得たpost_idのリストを渡してください。TikTokのpost_idsはInstagramのpost_idsとは別。サインイン済みのSOLARIアカウントであれば利用できます。

**どんなときに使うか** — 検索やアカウント投稿から得たidリストを一括で開くとき。

**何が返るか** — リクエストしたidのうち見つかった投稿。

## パラメータ

- `post_ids` (uuid[], 必須, 1–100 items, uuid) — 取得するSOLARIの投稿UUID。1回の呼び出しにつき最大100件。TikTokの動画idではありません。
- `sort` (enum, 任意, 既定値 "recent") — アイテムの並び順。posted_atの降順（recent）またはエンゲージメントの降順。 値: `recent`, `engagement`.
- `include_transcript` (boolean, 任意, 既定値 false) — 各アイテムに発話の文字起こしを付けます。文字起こしは長いためデフォルトで無効。

## レスポンス

### `Response`

- `requested` (integer) — 送信されたidの件数。
- `found` (integer) — 解決できた件数。
- `items` (object[]) — 見つかった投稿。

### `items[]`

- `post_id` (uuid) — SOLARIの投稿id。Instagramの投稿idとは別の名前空間。
- `video_id` (string) — 公開されている数値のTikTok id。/video/または/photo/の後ろの数字。
- `url` (string) — TikTokの公開パーマリンク。
- `account_id` (uuid) — 投稿者のTikTok account_id。
- `username` (string) — 投稿者のハンドル。
- `post_type` (string) — video（単一クリップ）またはcarousel（画像のスライドショー）。
- `posted_at` (timestamp) — 投稿日時（UTC）。
- `caption` (string) — キャプションのテキスト。
- `duration_seconds` (integer) — 動画の長さ。
- `width / height` (integer) — 動画の解像度。
- `play_count` (integer) — 再生数。
- `like_count` (integer) — いいね数。
- `comment_count` (integer) — コメント数。
- `share_count` (integer) — シェア数。
- `collect_count` (integer) — 保存数。
- `is_ad` (boolean) — TikTokがその投稿を広告としてフラグ付けしているかどうか。
- `is_pinned` (boolean) — プロフィール上部に固定されているか。
- `aigc_label_type` (string | null) — TikTokが付与した場合のAI生成コンテンツラベル。
- `original_language_code` (string | null) — ソース言語のコード。
- `cover_url` (string) — カバー画像のURL。
- `video_url` (string) — 動画ファイルのURL。
- `images` (string[]) — カルーセルのスライド。video投稿では空。
- `hashtags` (string[]) — キャプションから抽出されたハッシュタグ。
- `mentions` (string[]) — キャプション内でメンションされたハンドル。
- `transcript` (string | null) — 発話の文字起こし。include_transcript=trueのときのみ入ります。

## 例

```console
$ solari tiktok content batch post_ids='["01a0631e-f0df-7e9d-a09b-d84bc31d3834"]'
```

_読みやすさのため、長い文字列と繰り返しの配列要素を省略しています。_

```json
{
  "requested": 1,
  "found": 1,
  "items": [
    {
      "post_id": "01a0631e-f0df-7e9d-a09b-d84bc31d3834",
      "video_id": "7680375687139642645",
      "url": "https://www.tiktok.com/@innisfree_official/video/7680375687139642645",
      "account_id": "019b2137-f76e-7b33-9437-26044fa7b1ed",
      "username": "innisfree_official",
      "post_type": "video",
      "posted_at": "2026-09-02T12:00:00Z",
      "caption": "Deeply hydrated skin—NO OFF HOURS. 💚  wherever the day takes MINGYU—his hydration stays SUPERCHARGED ⚡️ Green Tea Ceramide Milk: Lightweight milky toner that won't clog your pores  Green Tea Ceramide Mist: Touch-free, fa …",
      "duration_seconds": 23,
      "width": 1080,
      "height": 1920,
      "play_count": 493,
      "like_count": 37,
      "comment_count": 2,
      "share_count": 0,
      "collect_count": 3,
      "is_ad": false,
      "is_pinned": false,
      "aigc_label_type": null,
      "original_language_code": null,
      "cover_url": "https://smr-images-b.bzine.co/tiktok/users/019b2137-f76e-7b33-9437-26044fa7b1ed/posts/01a0631e-f0df-7e9d-a09b-d84bc31d3834/medias/cover.jpg",
      "video_url": "https://smr-images-b.bzine.co/tiktok/users/019b2137-f76e-7b33-9437-26044fa7b1ed/posts/01a0631e-f0df-7e9d-a09b-d84bc31d3834/medias/origin.mp4",
      "images": [],
      "hashtags": [],
      "mentions": [],
      "transcript": null
    }
  ]
}
```

## MCP 呼び出しとして

```json
{
  "name": "solari_tiktok_content_batch",
  "arguments": {
    "post_ids": [
      "01a0631e-f0df-7e9d-a09b-d84bc31d3834"
    ]
  }
}
```

## 注意点

- 受け付けるのはSOLARIの投稿UUIDのみ。数値のTikTok動画idはここには渡さないでください。それはcontent detailにvideo_idとして渡してください。
- TikTokの投稿idとInstagramの投稿idは別の名前空間。

## 関連ツール

- [`solari_tiktok_content_detail`](https://solari.sh/docs/tools/tiktok-content-detail.md?lang=ja)
- [`solari_tiktok_content_search`](https://solari.sh/docs/tools/tiktok-content-search.md?lang=ja)
