MCPcopy Index your code
hub / github.com/simstudioai/sim / getSandboxTask

Function getSandboxTask

apps/sim/sandbox-tasks/registry.ts:19–25  ·  view source on GitHub ↗
(id: SandboxTaskId)

Source from the content-addressed store, hash-verified

17export type SandboxTaskId = keyof typeof SANDBOX_TASKS
18
19export function getSandboxTask(id: SandboxTaskId): SandboxTask {
20 const task = SANDBOX_TASKS[id]
21 if (!task) {
22 throw new Error(`Unknown sandbox task: "${id}"`)
23 }
24 return task
25}

Callers 1

runSandboxTaskFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected