MCP tool
讀取專案匯出狀態
sosoapi_get_project_export_status按 export_id 讀取專案匯出狀態:queued、processing、completed(包括短期下載 URL)或 failed。只限 owner。
閱讀 MarkdownProfiles 及連接方式
Profiles: full · Transports: stdio, http
Profile 只影響工具可見性,唔會授權。HTTP 冇本機檔案上傳。SOSOAPI_OUTPUT_SCHEMAS=1 會宣告輸出 schema;兩種模式都會回傳 structured results。
權限及改動
MCP annotations 只係發現提示,唔係存取控制保證;仍然有實際登入、角色、資源及能力檢查。
{
"readOnlyHint": true,
"destructiveHint": false,
"idempotentHint": true,
"openWorldHint": false
}- /studio-api/projects/export/status: agent:operate · synchronous_http_response
輸入欄位
必填表示喺所屬物件及所選分支內必須提供;子欄位必填唔代表可選父物件變成必填。以下欄位名稱及規則直接來自 contract。
| 欄位/分支 | 類型/必填 | 限制 |
|---|---|---|
$ | object父物件內必填 |
|
project_id | string父物件內必填 |
|
export_id | string父物件內必填 |
|
完整 JSON Schema
{
"type": "object",
"properties": {
"project_id": {
"type": "string",
"format": "uuid"
},
"export_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"project_id",
"export_id"
],
"additionalProperties": false
}結構化輸出
此 schema 描述成功工具結果嘅 structuredContent。MCP envelope 亦包括 content,失敗可能設定 isError;唔好將文字收據或接受請求當成平台終態。權限及重試規則見對應 API 操作。
必填表示喺所屬物件及所選分支內必須提供;子欄位必填唔代表可選父物件變成必填。以下欄位名稱及規則直接來自 contract。
| 欄位/分支 | 類型/必填 | 限制 |
|---|---|---|
$ | object父物件內必填 |
|
contract_version | string父物件內必填 |
|
export_id | string父物件內必填 |
|
project_id | string父物件內必填 |
|
status | string父物件內必填 |
|
object_sha256 | string | null父物件內必填 | — |
object_sha256anyOf 1 | string父物件內必填 |
|
object_sha256anyOf 2 | null父物件內必填 | — |
object_size | integer | null父物件內必填 | — |
object_sizeanyOf 1 | integer父物件內必填 |
|
object_sizeanyOf 2 | null父物件內必填 | — |
download_url | string | null父物件內必填 | — |
download_urlanyOf 1 | string父物件內必填 |
|
download_urlanyOf 2 | null父物件內必填 | — |
download_expires_at | string | null父物件內必填 | — |
download_expires_atanyOf 1 | string父物件內必填 |
|
download_expires_atanyOf 2 | null父物件內必填 | — |
error_message | string | null父物件內必填 | — |
error_messageanyOf 1 | string父物件內必填 | — |
error_messageanyOf 2 | null父物件內必填 | — |
created_at | string父物件內必填 |
|
completed_at | string | null父物件內必填 | — |
completed_atanyOf 1 | string父物件內必填 |
|
completed_atanyOf 2 | null父物件內必填 | — |
完整 JSON Schema
{
"type": "object",
"properties": {
"contract_version": {
"type": "string",
"const": "project/v1"
},
"export_id": {
"type": "string",
"format": "uuid"
},
"project_id": {
"type": "string",
"format": "uuid"
},
"status": {
"type": "string",
"enum": [
"queued",
"processing",
"completed",
"failed"
]
},
"object_sha256": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
{
"type": "null"
}
]
},
"object_size": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"download_url": {
"anyOf": [
{
"type": "string",
"format": "uri"
},
{
"type": "null"
}
]
},
"download_expires_at": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"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)))$"
},
{
"type": "null"
}
]
},
"error_message": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"created_at": {
"type": "string",
"format": "date-time",
"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)))$"
},
"completed_at": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"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)))$"
},
{
"type": "null"
}
]
}
},
"required": [
"contract_version",
"export_id",
"project_id",
"status",
"object_sha256",
"object_size",
"download_url",
"download_expires_at",
"error_message",
"created_at",
"completed_at"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}工具呼叫範例
以下虛構值已按 contract 驗證,唔係真實帳戶 ID、憑證或發佈紀錄。請用已授權範圍回傳嘅 ID、已準備好嘅素材及已審核排程取代,寫入前核對平台資格。此頁唔會呼叫 API。
{
"name": "sosoapi_get_project_export_status",
"arguments": {
"project_id": "11111111-1111-4111-8111-111111111111",
"export_id": "11111111-1111-4111-8111-111111111111"
}
}structuredContent
{
"contract_version": "project/v1",
"export_id": "11111111-1111-4111-8111-111111111111",
"project_id": "11111111-1111-4111-8111-111111111111",
"status": "queued",
"object_sha256": null,
"object_size": null,
"download_url": null,
"download_expires_at": null,
"error_message": null,
"created_at": "2099-01-15T09:00:00Z",
"completed_at": null
}