BashServerTool - Python SDK

BashServerTool method reference

The Python SDK and docs are currently in beta. Report issues on GitHub.

OpenRouter built-in server tool: runs shell commands server-side in a sandboxed container

Fields

FieldTypeRequiredDescriptionExample
parametersOptional[components.BashServerToolConfig]Configuration for the openrouter:bash server tool{"environment": {"type": "container_auto"}
}
typecomponents.BashServerToolType✔️N/A