测试引擎连接或重新检测 Codex
app_test_providerTests AI provider connectivity by re-probing a local Codex CLI executable or sending a minimal request to an OpenAI-compatible base URL, returning latency or error details.
Instructions
UI 专用:provider=codex-cli 时异步重新探测本机 codex.exe;provider=openai-compatible 时向 Base URL 发最小化探测请求返回延迟或错误。
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": "app_test_provider"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | ||
| apiKey | No | ||
| baseUrl | No | ||
| provider | No | ||
| clearApiKey | No | ||
| customCodexPath | No | ||
| existingPersonaId | No |