"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations from .bashservertoolconfig import BashServerToolConfig, BashServerToolConfigTypedDict from openrouter.types import BaseModel from typing import Literal, Optional from typing_extensions import NotRequired, TypedDict BashServerToolType = Literal["openrouter:bash",] class BashServerToolTypedDict(TypedDict): r"""OpenRouter built-in server tool: runs shell commands server-side in a sandboxed container""" type: BashServerToolType parameters: NotRequired[BashServerToolConfigTypedDict] r"""Configuration for the openrouter:bash server tool""" class BashServerTool(BaseModel): r"""OpenRouter built-in server tool: runs shell commands server-side in a sandboxed container""" type: BashServerToolType parameters: Optional[BashServerToolConfig] = None r"""Configuration for the openrouter:bash server tool"""