terminal_snapshot
Capture the current contents of a terminal pane, including scrollback, using a lease ID. Get a static snapshot for inspection; for continuous logs, use terminal_read.
Instructions
Capture visible pane (+scrollback) via capture-pane. Not an incremental log — use terminal_read for that. Requires lease_id.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"lease_id": "<lease_id>"
},
"name": "terminal_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alias | No | ||
| pane_id | No | ||
| lease_id | Yes | ||
| include_history | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||