MCPcopy Index your code
hub / github.com/simstudioai/sim / route.ts

File route.ts

apps/sim/app/api/tools/a2a/get-agent-card/route.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { createLogger } from '@sim/logger'
2import { getErrorMessage } from '@sim/utils/errors'
3import { type NextRequest, NextResponse } from 'next/server'
4import { agentCardOutput, createA2AClient } from '@/lib/a2a/client'

Callers

nothing calls this directly

Calls 12

createLoggerFunction · 0.90
withRouteHandlerFunction · 0.90
generateRequestIdFunction · 0.90
enforceUserOrIpRateLimitFunction · 0.90
parseRequestFunction · 0.90
createA2AClientFunction · 0.90
agentCardOutputFunction · 0.90
getErrorMessageFunction · 0.90
infoMethod · 0.80
errorMethod · 0.80

Tested by

no test coverage detected