MCP 工具

這個 MCP 工具會停止團隊模擬器的螢幕錄製,並把 MP4 儲存為團隊附件,同時提供下載連結。

simulator_stop_recording 會停止團隊模擬器的螢幕錄製,把影片(MP4)儲存為團隊的附件,並傳回它的 attachmentId 和一個下載連結。錄製自動停止後也可以使用。連結在 60 秒內有效:請立即下載,或之後用 get_attachment 取得新的連結。把 attachmentId 傳給 send_message 即可把影片附加到聊天中。每次呼叫都會儲存一份新的影片副本。它不會刪除任何內容。

唯讀 破壞性 冪等
否 否 是

輸入

輸入 類型 必填 預設值 作用
teamId 字串(UUID) 是 — 團隊,來自 list_teams;影片會儲存在這個團隊中
simulator string 否 團隊的預設裝置 哪種裝置,使用 list_simulators 中的 id

結果

欄位 說明
attachmentId 儲存的影片的附件 ID
fileName simulator-recording-<date and time>.mp4
byteCount 影片的大小,以位元組計
downloadUrl 下載連結,60 秒內有效
note 對上述內容的提醒
{
  "attachmentId": "00000000-0000-0000-0000-000000000000",
  "fileName": "simulator-recording-2026-11-20T09-30-00-000Z.mp4",
  "byteCount": 3145728,
  "downloadUrl": "https://…",
  "note": "downloadUrl works for 60 seconds; get_attachment makes a fresh one, and send_message can attach the video to a chat."
}

錯誤

訊息 何時出現 處理方式
no recording exists for this device 這台裝置上沒有錄製任何內容 用 simulator_start_recording 開始錄製
no finished recording for this device 錄製失敗 檢查 simulator_recording_status 並重新錄製
The recording is empty. 影片沒有內容 重新錄製
The recording could not be stored. Stop it again to retry. 儲存影片失敗 再次呼叫 simulator_stop_recording

另外還有每個模擬器工具都可能傳回的錯誤:請參閱 start_simulator。

範例

{"name": "simulator_stop_recording", "arguments": {"teamId": "00000000-0000-0000-0000-000000000000"}}