INNER CODE UNIT · TypeScript
startPromptOnlyScan
openai/codex-security · plugins/codex-security/mcp-app/server.ts:2095
async function startPromptOnlyScan(
input: PromptOnlyScanInput,
threadId: string,
modelSettings: { model?: string; reasoningEffort?: string } = {},
): Promise<JsonObject> {
const { mode, targetPath, scope, targetSummary, userContext, diffTarget } =
input;
return await runWorkbench(
[
"start-prompt-only-scan",
"--thread-id",
threadId,
"--target-path",
targetPath,
"--scope",
scope,
"--mode",
mode,