端点检查
check_endpointVerifies endpoint connectivity by requesting its model list and checking response format and model availability. Use as a preliminary check before actual image generation.
Instructions
请求当前端点的模型列表,检查响应格式和模型是否在列表中。不会发送生图或编辑请求;即使检查通过,图片能力仍需实际调用验证。
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": "check_endpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | ||
| editing | Yes | ||
| message | Yes | ||
| generation | Yes | ||
| httpStatus | Yes | ||
| modelListed | Yes | ||
| configuration | Yes | ||
| modelsEndpoint | Yes |