server_info
Retrieve configuration and policy details for the AI runtime guard system to monitor and verify security boundaries.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ctx | No |
Implementation Reference
- src/tools/command_tools.py:34-40 (handler)The implementation of the `server_info` tool, which returns information about the current build, workspace root, and base directory.
def server_info(ctx: Context | None = None) -> str: tokens = activate_runtime_context(ctx) from config import BASE_DIR try: return f"ai-runtime-guard build={SERVER_BUILD} workspace={WORKSPACE_ROOT} base_dir={BASE_DIR}" finally: reset_runtime_context(tokens)