Open Agent Loops
API Reference

CodeExecutionRequest

@open-agent-loops/core


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

A request to run a snippet of code in some language.

Properties

PropertyTypeDescriptionDefined in
codestringSource to run.tools/builtin/builtin.types.ts:105
languagestringRuntime to run under, e.g. "python", "javascript", "typescript". The backend owns which languages it supports and rejects the rest — a sandbox may only be able to isolate what it can actually run.tools/builtin/builtin.types.ts:103

On this page