Open Agent Loops
API Reference

CodeExecutionResult

@open-agent-loops/core


Defined in: tools/builtin/builtin.types.ts:83

The outcome of running one code snippet.

Remarks

Structurally the same as ShellResult — running code is just a richer exec — but kept a distinct type so the two seams can diverge later (timing, artifacts) without coupling.

Properties

PropertyTypeDescriptionDefined in
exitCodenumberProcess exit status; 0 conventionally means success.tools/builtin/builtin.types.ts:89
stderrstringStandard error captured from the run.tools/builtin/builtin.types.ts:87
stdoutstringStandard output captured from the run.tools/builtin/builtin.types.ts:85

On this page