products/Sources/formale Sprachen/Isabelle/Pure/Syntax/   (Netbeans IDE Version 28©)  Datei vom 16.11.2025 mit Größe 3 kB image not shown  

Quelle  tool-split.ts   Sprache: unbekannt

 
import type { AgentTool } from "@mariozechner/pi-agent-core";
import { toToolDefinitions } from "../pi-tool-definition-adapter.js";

// We always pass tools via `customTools` so our policy filtering, sandbox integration,
// and extended toolset remain consistent across providers.
type AnyAgentTool = AgentTool;

export function splitSdkTools(options: { tools: AnyAgentTool[]; sandboxEnabled: boolean }): {
  customTools: ReturnType<typeof toToolDefinitions>;
} {
  const { tools } = options;
  return {
    customTools: toToolDefinitions(tools),
  };
}

Messung V0.5 in Prozent
C=91 H=97 G=93

[zur Elbe Produktseite wechseln0.9QuellennavigatorsAnalyse erneut starten2026-06-05]