MCPcopy Create free account
hub / github.com/simstudioai/sim / daytonaToolboxUrl

Function daytonaToolboxUrl

apps/sim/tools/daytona/utils.ts:22–24  ·  view source on GitHub ↗
(sandboxId: string, path: string)

Source from the content-addressed store, hash-verified

20 * Builds a toolbox API URL for a sandbox-scoped endpoint.
21 */
22export function daytonaToolboxUrl(sandboxId: string, path: string): string {
23 return `${DAYTONA_TOOLBOX_BASE_URL}/${encodeSandboxId(sandboxId)}${path}`
24}
25
26/**
27 * Parses a Daytona API JSON response, tolerating empty bodies (e.g., 204 or

Callers 5

git_clone.tsFile · 0.90
list_files.tsFile · 0.90
download_file.tsFile · 0.90
execute_command.tsFile · 0.90
run_code.tsFile · 0.90

Calls 1

encodeSandboxIdFunction · 0.85

Tested by

no test coverage detected