codex_preflight_project_run
Validate project safety before a Codex run by checking configuration and permissions. Use after project discovery to prevent issues during write operations.
Instructions
Check whether a project is safe to use before a Codex run. Use this after project discovery and before write operations. Do not treat skipped worker-managed account checks as hard auth failures.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "codex_preflight_project_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | No | ||
| cwd | No | ||
| model | No | ||
| sandbox | No | ||
| approval_policy | No | ||
| workflow_kind | No | plan | |
| live_probe | No | ||
| timeout_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No | ||
| agentGuidance | No | ||
| agentGuidanceText | No | ||
| recoveryAttemptState | No |