Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 6.31 KB

bashservertoolconfig.mdx

File metadata and controls

14 lines (10 loc) · 6.31 KB
title BashServerToolConfig

Configuration for the openrouter:bash server tool

Fields

Field Type Required Description Example
engine Optional[components.BashServerToolEngine] ➖ Which bash engine to use. "openrouter" runs commands server-side in the OpenRouter sandbox. "auto" (default) and "native" use native passthrough, returning the tool call to your application to run client-side; OpenRouter does not execute the commands. auto
environment Optional[components.BashServerToolEnvironment] ➖ Execution environment for the bash server tool. {
"type": "container_auto"
}
sleep_after_seconds Optional[int] ➖ How long (in seconds) the container stays warm after its last command before sleeping, freeing its capacity slot. Idle-based: each command renews the timer. Defaults to 300 (5 minutes); capped at 14400 (4 hours). 300