On this page

On this page

Get started

Tokenjuice plugin reference

Compacts exec and bash tool results with tokenjuice reducers.

Distribution

  • Package: @openclaw/tokenjuice
  • Install route: npm or ClawHub: @openclaw/tokenjuice

Surface

  • Contracts: agentToolResultMiddleware

Compaction scope

Tokenjuice compacts OpenClaw exec and bash results in embedded runs and OpenClaw dynamic tools in the Codex app-server harness. Native codex-rs shell results returned to the model stay unchanged.

Was this useful?