MCPcopy Create free account
hub / github.com/cloudflare/agents-starter / fetch

Function fetch

src/server.ts:204–209  ·  view source on GitHub ↗
(request: Request, env: Env)

Source from the content-addressed store, hash-verified

202 })
203 );
204 }
205}
206
207export default {
208 async fetch(request: Request, env: Env) {
209 return (
210 (await routeAgentRequest(request, env)) ||
211 new Response("Not found", { status: 404 })
212 );

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected