MCPcopy
hub / github.com/simstudioai/sim / route.ts

File route.ts

apps/sim/app/api/tools/vision/analyze/route.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { GoogleGenAI } from '@google/genai'
2import { createLogger } from '@sim/logger'
3import { getErrorMessage } from '@sim/utils/errors'
4import { type NextRequest, NextResponse } from 'next/server'

Callers

nothing calls this directly

Calls 15

createLoggerFunction · 0.90
withRouteHandlerFunction · 0.90
generateRequestIdFunction · 0.90
checkInternalAuthFunction · 0.90
parseRequestFunction · 0.90
getErrorMessageFunction · 0.90
assertToolFileAccessFunction · 0.90
downloadFileFromStorageFunction · 0.90
isInternalFileUrlFunction · 0.90
resolveInternalFileUrlFunction · 0.90
validateUrlWithDNSFunction · 0.90

Tested by

no test coverage detected