process_get
Read a process's log output by selecting time ranges, line ranges, or byte limits, defaulting to the last 100 lines.
Instructions
Read a log slice: time, then lines, then UTF-8 text bytes.
With neither selector, return the last 100 lines. Line ranges are inclusive; time ranges are [start, end) seconds from process start. Last seconds end at now for running processes, at completion otherwise. Returned line numbers remain absolute; a byte limit can cut a line.
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": {
"process_id": "<process_id>"
},
"name": "process_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| time | No | Choose exactly one object form: {"first": N}, {"last": N}, or {"start": A, "end": B}, with no extra fields. Values are finite seconds from process start; N > 0, 0 <= A < B, and the end is excluded. | |
| lines | No | Choose exactly one object form: {"first": N}, {"last": N}, or {"start": A, "end": B}, with no extra fields. All values are integers >= 1; ranges require A <= B and include both ends. | |
| max_bytes | No | ||
| process_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | ||
| process | Yes | ||
| transcript | Yes |