vision_test_connection
Checks a configured vision provider's connectivity by verifying key, model, and endpoint settings. Optionally sends a minimal request to validate authentication.
Instructions
测试某个已配置 provider 的连通性(Key/模型/端点)。默认只检查配置;perform_request=true 时发送最小文本请求验证认证。不会接收 API Key。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"provider_id": "<provider_id>"
},
"name": "vision_test_connection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| provider_id | Yes | 要测试的视觉模型 ID | |
| perform_request | No | 是否真正发送一次最小请求验证 Key 有效性 |