Write Leased Terminal Input
terminal_write_leasedSend raw bytes through a leased session owned by a managed multi-step operation, keeping standard terminal input separate.
Instructions
Write raw bytes through an active Session lease owned by a managed multi-step operation; normal terminal input must use terminal_write.
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": {
"session_id": "<session_id>",
"data": "<data>",
"owner": "<owner>"
},
"name": "terminal_write_leased"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Payload to send without adding a line ending; decoded payload must not exceed 1 MiB. | |
| actor | No | Internal operation source: user, agent, or system. | |
| owner | Yes | Opaque owner capability returned to the lease caller. | |
| encoding | No | Payload representation: utf8 (default), hex, or base64. | |
| session_id | Yes | Active Session ID or short reference. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bytes_written | Yes |