screen_record_start
화면, 윈도우 및 인터페이스 · macOS
효과: 쓰기. 상태: 조건부 제공.
‘조건부 제공’은 도구가 버전, 플랫폼, 권한, 계정 또는 설정에 따라 달라질 수 있음을 뜻하며 모든 설치에서 활성화되었다는 의미는 아닙니다.
macOS
목적
디스플레이, 창 또는 영역의 화면 녹화(ScreenCaptureKit)를 시작합니다. v1에서는 활성 세션이 하나뿐이며 두 번째 시작은 already_recording을 반환합니다. record_marker와 screen_record_stop에서 사용할 session_id를 반환합니다. 화면 기록 권한이 필요하며, 권한이 없으면 조용히 아무 작업도 하지 않고 끝내는 대신 명시적인 permission_required 오류를 반환합니다.
필수 입력
target
입력 이름은 도구가 요구하는 정확한 형태로 유지됩니다. 영문 정식 기술 정의는 아래 펼칠 수 있는 스키마에 있습니다.
권한 및 확인
스키마에 명시적 확인 매개변수가 없습니다. 이는 무단 작업을 허용하지 않습니다. 효과를 검토하고 승인을 받으세요.
- 이 플랫폼에서는 사용자가 승인한 앱, 계정 및 리소스만 사용하세요. 연결 및 권한 요구 사항은 이 도구의 플랫폼별 설명을 참조하세요. 이 카탈로그는 추가 OAuth 범위나 OS 권한이 있다고 주장하지 않습니다.
영문 정식 기술 스키마 — macOS
{
"properties": {
"fps": {
"description": "Frames per second (default 60).",
"type": "integer"
},
"output_path": {
"description": "Where to write the .mov (default: temp file, returned by stop). Missing parent folders are created.",
"type": "string"
},
"show_cursor": {
"description": "Default true.",
"type": "boolean"
},
"target": {
"description": "What to capture.",
"properties": {
"display_id": {
"description": "Required if kind=display.",
"type": "string"
},
"kind": {
"enum": [
"display",
"window",
"region"
],
"type": "string"
},
"region": {
"description": "Required if kind=region: {x,y,w,h} global points.",
"type": "object"
},
"window_id": {
"description": "Required if kind=window.",
"type": "string"
}
},
"required": [
"kind"
],
"type": "object"
}
},
"required": [
"target"
],
"type": "object"
}문서 예시
screen_record_start 문서 예시입니다. 이 예시를 실행하지 마세요. 표시된 인수는 가상 데이터 세트에 속합니다. 실제 호출 전에 실제 식별자를 확인하고 승인을 받으세요.
{
"target": {
"display_id": "1",
"kind": "display"
}
}