Skip to content

A spy satellite simulator in your browser, except the data is real. Live open source spatial intelligence on a photorealistic 3D globe.

503 B
Raw Blame
/**
 * The voice session's tools for the standalone server: the app actions plus
 * the catalog tools voice offers (see src/tools/surfaces.js), which the
 * browser runs through the same catalog.
 */

import {
  coreTools,
  toFunctionTools,
  toolsForSurface,
} from '../../src/tools/index.js';
import { realtimeSessionTools } from '../providers/openai/tools.js';

export function standaloneVoiceTools() {
  return realtimeSessionTools(
    toFunctionTools(toolsForSurface(coreTools, 'voice')),
  );
}