brawsr
v0.2.0Browser sessions, checkpoints, rewind, fork, lineage, and lifecycle tools for brawsr.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
brawsr_create_session
Create one browser session. Session closure remains explicit.
| Parameter | Type | Description |
|---|---|---|
display_label | string | |
ttl_seconds | integer |
brawsr_list_sessions
List one bounded page of project sessions, including retained terminal sessions.
| Parameter | Type | Description |
|---|---|---|
created_before | string | |
created_from | string | |
cursor | string | |
display_label | string | |
limit | integer | |
search | string | |
session_id | string | |
status | string |
brawsr_get_session
Get the public state of one browser session.
| Parameter | Type | Description |
|---|---|---|
session_id * | string |
brawsr_update_session_label
Set a session display label, or clear it by passing an empty string.
| Parameter | Type | Description |
|---|---|---|
display_label * | string | |
session_id * | string |
brawsr_close_session
Explicitly close one browser session. The operation is idempotent.
| Parameter | Type | Description |
|---|---|---|
session_id * | string |
brawsr_close_sessions
Explicitly close multiple sessions with bounded concurrency. Returns every ordered outcome and never infers winners or losers.
| Parameter | Type | Description |
|---|---|---|
session_ids * | array | |
concurrency | integer |
brawsr_create_checkpoint
Create a browser checkpoint at a caller-chosen safe point and wait for a bounded terminal result.
| Parameter | Type | Description |
|---|---|---|
session_id * | string | |
idempotency_key | string | |
label | string | |
timeout_ms | integer | |
ttl_seconds | integer |
brawsr_get_checkpoint
Get one checkpoint by immutable checkpoint ID.
| Parameter | Type | Description |
|---|---|---|
checkpoint_id * | string |
brawsr_list_checkpoints
List one bounded page of the session's checkpoint capture history. Deleted captures remain visible and are not valid rewind targets.
| Parameter | Type | Description |
|---|---|---|
session_id * | string | |
cursor | string | |
limit | integer |
brawsr_list_rewindable_checkpoints
List one bounded page of the current rewindable checkpoint ancestry for a session.
| Parameter | Type | Description |
|---|---|---|
session_id * | string | |
cursor | string | |
limit | integer |
brawsr_list_session_activity
List one bounded page of customer-visible lifecycle and operation activity for a session.
| Parameter | Type | Description |
|---|---|---|
session_id * | string | |
cursor | string | |
limit | integer |
brawsr_get_session_lineage
Get one session, its optional parent fork edge, and one bounded page of direct child sessions.
| Parameter | Type | Description |
|---|---|---|
session_id * | string | |
cursor | string | |
limit | integer |
brawsr_delete_checkpoint
Delete one checkpoint and wait if the server admits asynchronous cleanup.
| Parameter | Type | Description |
|---|---|---|
checkpoint_id * | string | |
timeout_ms | integer |
brawsr_rewind
Rewind browser state and return connectable CDP data. This does not undo server-side website effects; discard stale browser/CDP handles and reconnect. Wait for the operation before another lifecycle mutation on this session.
| Parameter | Type | Description |
|---|---|---|
session_id * | string | |
checkpoint_id | string | |
idempotency_key | string | |
label | string | |
timeout_ms | integer |
brawsr_fork
Fork one checkpoint into ordered peer sessions and wait for the complete set. Children are independent peers, not winners/losers; cleanup is explicit and there is no browser-state merge.
| Parameter | Type | Description |
|---|---|---|
n * | integer | |
session_id * | string | |
checkpoint_id | string | |
idempotency_key | string | |
label | string | |
timeout_ms | integer | |
ttl_seconds | integer |
brawsr_get_operation
Get a durable operation for cross-process recovery.
| Parameter | Type | Description |
|---|---|---|
operation_id * | string |
brawsr_wait_operation
Resume bounded waiting for a durable operation. A local timeout never cancels server work.
| Parameter | Type | Description |
|---|---|---|
operation_id * | string | |
timeout_ms | integer |