Home / Projects / NiPlex-Harness / Tools / Terminal and Python sandbox tools / get_results

Pictures

get_results

Returns the last results of a terminal.

Since 2 Sept 2026

History keeps up to 20 entries per terminal. Code is stored cut to 500 characters.

Tool name
get_results
Group
Terminal and Python sandbox
Risk
none
Needs approval
never
Approval rule
Read only.
Allowed in scheduled jobs
No
Default
on

Parameters

NameTypeRequiredDefaultMeaningLimits
terminal_idstringYesId of a terminal session. Omit to use the first one.
last_nintegerNo5How many recent results to return.

Returns

JSON list.

Example (made up for this page)

Call
{
  "terminal_id": "demo"
}
Result
[{"code": "print(6*7)", "result": {...}}]

Side effects

  • none

How it can fail

WhenWhat the agent sees
Unknown terminalTerminal t9 not found

Checked against the source at commit f4fd89f on 29 Oct 2026. Everything here is merged on the main branch; no release has been tagged yet. The source is private, so these pages are the public description.