MCPcopy Create free account
hub / github.com/QodeXcli/QodeX /

Class

src/tools/shell/code-run.ts:137–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135`;
136}
137
138export class CodeRunTool extends Tool<z.infer<typeof CodeRunArgs>> {
139 name = 'code_run';
140 description = 'Execute a code snippet in an isolated temp dir. Auto-picks the right interpreter for the language. Returns stdout, stderr, exit code. Each call uses a fresh sandbox; nothing persists between calls. Use to verify code behavior, do quick math, test regex, generate data.';

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected