Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/simstudioai/sim
/ route.ts
File
route.ts
apps/sim/app/api/tools/a2a/send-message/route.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ createLogger } from
'@sim/logger'
2
import
{ getErrorMessage } from
'@sim/utils/errors'
3
import
{
type
NextRequest, NextResponse } from
'next/server'
4
import
{
Callers
nothing calls this directly
Calls
15
createLogger
Function · 0.90
withRouteHandler
Function · 0.90
generateRequestId
Function · 0.90
checkSessionOrInternalAuth
Function · 0.90
enforceUserOrIpRateLimit
Function · 0.90
parseRequest
Function · 0.90
getValidationErrorMessage
Function · 0.90
processFilesToUserFiles
Function · 0.90
assertToolFileAccess
Function · 0.90
downloadServableFileFromStorage
Function · 0.90
createA2AClient
Function · 0.90
buildUserMessage
Function · 0.90
Tested by
no test coverage detected