Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions mcp/agent-devices-tools.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Every result about a session includes a `session` block, so the agent never need
| `state` | `queued`, `provisioning`, `ready`, `active` or `needs_human` while it's open. Once it has ended: `released` (stopped, or ended for another reason), `expired` (it reached a time limit or the spend cap) or `failed` (the device failed) |
| `release_reason` | Why the session ended, once it has: `user_stop`, `idle_timeout`, `max_duration`, `queue_timeout`, `spend_cap`, `needs_human_timeout`, `runner_error`, `heartbeat_lost` or `other` |
| `platform`, `model` | The device, such as `ios` and `iphone-16-ios-26.5` |
| `os_version`, `locale` | The OS version on its own: the iOS version, such as `26.5`, or the Android API level, such as `36`. And the locale the device was set to, such as `de_DE`, or `null` when none was given and the device keeps its default |
| `client_label` | Who is driving, such as `claude-code` |
| `started_by` | Who started the session: `email` when a person did, or `key_name` when an API key did, its `client_label`, and whether it was you (`you`: you, or the API key you're using) and this connection (`this_client`) |
| `created_at`, `started_at`, `released_at` | When the session was asked for, got its device, and ended |
Expand Down
73 changes: 73 additions & 0 deletions public/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1110,6 +1110,8 @@ paths:
release_reason: null
platform: android
model: pixel-10-api-36
os_version: '36'
locale: null
client_label: claude-code
created_at: '2026-11-10T14:00:00.000Z'
started_at: null
Expand Down Expand Up @@ -1322,6 +1324,8 @@ paths:
release_reason: null
platform: android
model: pixel-10-api-36
os_version: '36'
locale: null
client_label: claude-code
created_at: '2026-11-10T14:00:00.000Z'
started_at: '2026-11-10T14:00:21.000Z'
Expand All @@ -1344,6 +1348,8 @@ paths:
release_reason: idle_timeout
platform: ios
model: iphone-16-ios-26.4
os_version: '26.4'
locale: null
client_label: cursor
created_at: '2026-11-10T11:30:00.000Z'
started_at: '2026-11-10T11:30:40.000Z'
Expand Down Expand Up @@ -1394,6 +1400,8 @@ paths:
release_reason: null
platform: android
model: pixel-10-api-36
os_version: '36'
locale: null
client_label: claude-code
created_at: '2026-11-10T14:00:00.000Z'
started_at: '2026-11-10T14:00:21.000Z'
Expand Down Expand Up @@ -1452,6 +1460,8 @@ paths:
release_reason: user_stop
platform: android
model: pixel-10-api-36
os_version: '36'
locale: null
client_label: claude-code
created_at: '2026-11-10T14:00:00.000Z'
started_at: '2026-11-10T14:00:21.000Z'
Expand Down Expand Up @@ -1550,6 +1560,8 @@ paths:
release_reason: null
platform: android
model: pixel-10-api-36
os_version: '36'
locale: null
client_label: claude-code
created_at: '2026-11-10T14:00:00.000Z'
started_at: '2026-11-10T14:00:21.000Z'
Expand Down Expand Up @@ -1629,6 +1641,8 @@ paths:
release_reason: idle_timeout
platform: android
model: pixel-10-api-36
os_version: '36'
locale: null
client_label: claude-code
created_at: '2026-11-10T14:00:00.000Z'
started_at: '2026-11-10T14:00:21.000Z'
Expand Down Expand Up @@ -1735,6 +1749,8 @@ paths:
release_reason: null
platform: android
model: pixel-10-api-36
os_version: '36'
locale: null
client_label: claude-code
created_at: '2026-11-10T14:00:00.000Z'
started_at: '2026-11-10T14:00:21.000Z'
Expand Down Expand Up @@ -1808,6 +1824,8 @@ paths:
release_reason: idle_timeout
platform: android
model: pixel-10-api-36
os_version: '36'
locale: null
client_label: claude-code
created_at: '2026-11-10T14:00:00.000Z'
started_at: '2026-11-10T14:00:21.000Z'
Expand Down Expand Up @@ -1938,6 +1956,8 @@ paths:
release_reason: null
platform: android
model: pixel-10-api-36
os_version: '36'
locale: null
client_label: claude-code
created_at: '2026-11-10T14:00:00.000Z'
started_at: '2026-11-10T14:00:21.000Z'
Expand Down Expand Up @@ -2030,6 +2050,8 @@ paths:
release_reason: idle_timeout
platform: android
model: pixel-10-api-36
os_version: '36'
locale: null
client_label: claude-code
created_at: '2026-11-10T14:00:00.000Z'
started_at: '2026-11-10T14:00:21.000Z'
Expand Down Expand Up @@ -2140,6 +2162,8 @@ paths:
release_reason: null
platform: android
model: pixel-10-api-36
os_version: '36'
locale: null
client_label: claude-code
created_at: '2026-11-10T14:00:00.000Z'
started_at: '2026-11-10T14:00:21.000Z'
Expand Down Expand Up @@ -2178,6 +2202,8 @@ paths:
release_reason: null
platform: android
model: pixel-10-api-36
os_version: '36'
locale: null
client_label: claude-code
created_at: '2026-11-10T14:00:00.000Z'
started_at: '2026-11-10T14:00:21.000Z'
Expand Down Expand Up @@ -2207,6 +2233,8 @@ paths:
release_reason: null
platform: android
model: pixel-10-api-36
os_version: '36'
locale: null
client_label: claude-code
created_at: '2026-11-10T14:00:00.000Z'
started_at: '2026-11-10T14:00:21.000Z'
Expand Down Expand Up @@ -2292,6 +2320,8 @@ paths:
release_reason: idle_timeout
platform: android
model: pixel-10-api-36
os_version: '36'
locale: null
client_label: claude-code
created_at: '2026-11-10T14:00:00.000Z'
started_at: '2026-11-10T14:00:21.000Z'
Expand Down Expand Up @@ -2370,6 +2400,8 @@ paths:
release_reason: null
platform: android
model: pixel-10-api-36
os_version: '36'
locale: null
client_label: claude-code
created_at: '2026-11-10T14:00:00.000Z'
started_at: '2026-11-10T14:00:21.000Z'
Expand Down Expand Up @@ -2494,6 +2526,8 @@ paths:
release_reason: null
platform: android
model: pixel-10-api-36
os_version: '36'
locale: null
client_label: claude-code
created_at: '2026-11-10T14:00:00.000Z'
started_at: '2026-11-10T14:00:21.000Z'
Expand Down Expand Up @@ -2569,6 +2603,8 @@ paths:
release_reason: null
platform: android
model: pixel-10-api-36
os_version: '36'
locale: null
client_label: claude-code
created_at: '2026-11-10T14:00:00.000Z'
started_at: '2026-11-10T14:00:21.000Z'
Expand Down Expand Up @@ -2697,6 +2733,8 @@ paths:
release_reason: null
platform: android
model: pixel-10-api-36
os_version: '36'
locale: null
client_label: claude-code
created_at: '2026-11-10T14:00:00.000Z'
started_at: '2026-11-10T14:00:21.000Z'
Expand Down Expand Up @@ -2752,6 +2790,8 @@ paths:
release_reason: null
platform: android
model: pixel-10-api-36
os_version: '36'
locale: null
client_label: claude-code
created_at: '2026-11-10T14:00:00.000Z'
started_at: '2026-11-10T14:00:21.000Z'
Expand Down Expand Up @@ -2818,6 +2858,8 @@ paths:
release_reason: null
platform: android
model: pixel-10-api-36
os_version: '36'
locale: null
client_label: claude-code
created_at: '2026-11-10T14:00:00.000Z'
started_at: '2026-11-10T14:00:21.000Z'
Expand Down Expand Up @@ -2935,6 +2977,8 @@ paths:
release_reason: user_stop
platform: android
model: pixel-10-api-36
os_version: '36'
locale: null
client_label: claude-code
created_at: '2026-11-10T14:00:00.000Z'
started_at: '2026-11-10T14:00:21.000Z'
Expand Down Expand Up @@ -3047,6 +3091,8 @@ paths:
release_reason: null
platform: android
model: pixel-10-api-36
os_version: '36'
locale: null
client_label: claude-code
created_at: '2026-11-10T14:00:00.000Z'
started_at: '2026-11-10T14:00:21.000Z'
Expand Down Expand Up @@ -3109,6 +3155,8 @@ paths:
release_reason: null
platform: android
model: pixel-10-api-36
os_version: '36'
locale: null
client_label: claude-code
created_at: '2026-11-10T14:00:00.000Z'
started_at: '2026-11-10T14:00:21.000Z'
Expand Down Expand Up @@ -3157,6 +3205,8 @@ paths:
release_reason: null
platform: android
model: pixel-10-api-36
os_version: '36'
locale: null
client_label: claude-code
created_at: '2026-11-10T14:00:00.000Z'
started_at: '2026-11-10T14:00:21.000Z'
Expand Down Expand Up @@ -3242,6 +3292,8 @@ paths:
release_reason: null
platform: android
model: pixel-10-api-36
os_version: '36'
locale: null
client_label: claude-code
created_at: '2026-11-10T14:00:00.000Z'
started_at: '2026-11-10T14:00:21.000Z'
Expand Down Expand Up @@ -3314,6 +3366,8 @@ paths:
release_reason: null
platform: android
model: pixel-10-api-36
os_version: '36'
locale: null
client_label: claude-code
created_at: '2026-11-10T14:00:00.000Z'
started_at: '2026-11-10T14:00:21.000Z'
Expand Down Expand Up @@ -3343,6 +3397,8 @@ paths:
release_reason: idle_timeout
platform: android
model: pixel-10-api-36
os_version: '36'
locale: null
client_label: claude-code
created_at: '2026-11-10T14:00:00.000Z'
started_at: '2026-11-10T14:00:21.000Z'
Expand Down Expand Up @@ -3763,6 +3819,8 @@ components:
release_reason: idle_timeout
platform: android
model: pixel-10-api-36
os_version: '36'
locale: null
client_label: claude-code
created_at: '2026-11-10T14:00:00.000Z'
started_at: '2026-11-10T14:00:21.000Z'
Expand Down Expand Up @@ -4544,6 +4602,8 @@ components:
- release_reason
- platform
- model
- os_version
- locale
- client_label
- created_at
- started_at
Expand Down Expand Up @@ -4596,6 +4656,19 @@ components:
The device, in the form GET /device/models uses: `iphone-16-ios-26.4`, or `pixel-10-api-36`
(`-play` with Google Play). The OS version gets more precise once the device has started.
example: pixel-10-api-36
os_version:
type: [string, 'null']
description: >-
The OS version on its own, so you need not take `model` apart: the iOS version (`26.4`), or the
Android API level (`36`), the values `os` takes when you start a session. Until the device has
started, an iOS session gives the major version it asked for (`26`).
example: '36'
locale:
type: [string, 'null']
description: >-
The locale the device was set to, such as `de_DE`: the `deviceLocale` the session was started
with. Null when none was given, and the device keeps its own default.
example: de_DE
client_label:
type: [string, 'null']
description: Who is driving the session, such as `claude-code`.
Expand Down