# レビュー済み引用付き研究ブリーフを書き出す

正規URL： https://sosoapi.ai/ja/docs/mcp/research-briefs-export

`sosoapi_research_briefs_export`

レビュー済みブリーフまたは正確なレビュー済み言語版を、信頼できない Markdown として書き出します。現在のソースアクセスを再確認します。agent:research が必要です。

## プロファイルと通信方式

プロファイル： full

通信方式： stdio, http

coreまたはfullで表示ツールを選べますが権限は変わりません。ローカルアップロードはstdioのみでHTTPは非対応です。SOSOAPI_OUTPUT_SCHEMAS=1で検出時に出力スキーマを含めます。設定に関係なく構造化結果を返します。

## 権限と副作用

注釈はクライアントがツールを説明するためのものです。各呼び出しでは引き続き認証、ロール、リソースアクセス、機能権限を確認します。

```json
{
  "readOnlyHint": false,
  "destructiveHint": false,
  "idempotentHint": true,
  "openWorldHint": true
}
```

`/research-api/briefs/export` — agent:research; 安定した書き出し識別子と、現在許可されている正確なレビュー済みソースから再生成した内容

## 入力フィールド

```json
{
  "type": "object",
  "properties": {
    "workspace_id": {
      "$ref": "#/$defs/s1"
    },
    "mutation_id": {
      "$ref": "#/$defs/s1"
    },
    "brief_id": {
      "$ref": "#/$defs/s1"
    },
    "brief_revision": {
      "$ref": "#/$defs/s0"
    },
    "variant_id": {
      "anyOf": [
        {
          "$ref": "#/$defs/s1"
        },
        {
          "type": "null"
        }
      ]
    },
    "variant_revision": {
      "anyOf": [
        {
          "$ref": "#/$defs/s0"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "workspace_id",
    "mutation_id",
    "brief_id",
    "brief_revision"
  ],
  "additionalProperties": false,
  "$defs": {
    "s0": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "s1": {
      "type": "string",
      "format": "uuid"
    }
  }
}
```

## 構造化された出力

このスキーマは、成功時のツール結果に含まれるstructuredContentを説明します。MCPレスポンスはcontentも含み、失敗時にisErrorを設定する場合があります。公開では、受理やテキスト応答を確認済みと扱わず、投稿の最終結果を取得してください。権限・再試行ルールはリンク先のAPI操作をご覧ください。

```json
{
  "type": "object",
  "properties": {
    "export": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "workspace_id": {
          "type": "string",
          "format": "uuid"
        },
        "brief_id": {
          "type": "string",
          "format": "uuid"
        },
        "brief_revision": {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991
        },
        "variant": {
          "anyOf": [
            {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "format": "uuid"
                },
                "revision": {
                  "type": "integer",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991
                },
                "locale": {
                  "type": "string",
                  "enum": [
                    "en",
                    "zh-HK"
                  ]
                }
              },
              "required": [
                "id",
                "revision",
                "locale"
              ],
              "additionalProperties": false
            },
            {
              "type": "null"
            }
          ]
        },
        "created_at": {
          "type": "string",
          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
          "format": "date-time"
        },
        "availability": {
          "type": "string",
          "enum": [
            "available",
            "stale",
            "unavailable"
          ]
        },
        "reasons": {
          "maxItems": 6,
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "source_unavailable",
              "source_changed",
              "brief_changed",
              "variant_changed",
              "draft_changed",
              "draft_unavailable",
              "not_reviewed"
            ]
          }
        },
        "filename": {
          "type": "string",
          "maxLength": 100
        },
        "media_type": {
          "type": "string",
          "const": "text/markdown"
        },
        "text": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 3000000
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "id",
        "workspace_id",
        "brief_id",
        "brief_revision",
        "variant",
        "created_at",
        "availability",
        "reasons",
        "filename",
        "media_type",
        "text"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "export"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}
```

## ツール呼び出しの例

スキーマ確認済みの架空値の例です。認可されたID、準備済みメディア、確認済みの公開日時に置き換え、書き込み前に適格性を確認してください。このページはAPIを呼びません。

```json
{
  "name": "sosoapi_research_briefs_export",
  "arguments": {
    "workspace_id": "11111111-1111-4111-8111-111111111111",
    "brief_id": "30000000-0000-4000-8000-000000000003",
    "brief_revision": 1,
    "variant_id": null,
    "variant_revision": null,
    "mutation_id": "40000000-0000-4000-8000-000000000002"
  }
}
```

structuredContent

```json
{
  "export": {
    "id": "30000000-0000-4000-8000-000000000008",
    "workspace_id": "11111111-1111-4111-8111-111111111111",
    "brief_id": "30000000-0000-4000-8000-000000000003",
    "brief_revision": 1,
    "variant": null,
    "created_at": "2099-01-15T09:00:00Z",
    "availability": "unavailable",
    "reasons": [
      "source_unavailable"
    ],
    "filename": "research-brief-30000000-0000-4000-8000-000000000003.md",
    "media_type": "text/markdown",
    "text": null
  }
}
```

## 基礎となるAPI操作

- [/research-api/briefs/export](https://sosoapi.ai/ja/docs/api/research-api-briefs-export)
