Build requests. Diagnose responses.
The response inspector, request builder and field checker run locally in this page. They do not make a model request or require an account. The optional site API test is separate.
Inspect a JSON response.
Find the difference between a token limit, invalid JSON and missing fields.
This response requests a tool
Tool arguments are a separate payload. An assistant tool request is not the final JSON answer to your task.
- Finish reason
tool_calls- Assistant JSON
- Not checked
- Field checklist
- Not supplied
What to do next
Handle the tool step in your client, then inspect the eventual assistant answer. This tool does not execute functions.
Understand tool calls and empty contentSource facts are not checked. Provider-specific finish reasons may differ.
Build your request
One connection for your software. The label free selects automatic routing; you do not choose a model provider.
curl 'https://chinagenai.com/v1/chat/completions' \
-H 'Authorization: Bearer YOUR_SITE_KEY' \
-H 'Content-Type: application/json' \
-d '{
"model": "free",
"messages": [
{
"role": "user",
"content": "Extract the supplier quote into JSON with these fields: supplier, quantity, currency, unit_price, moq, incoterm, port, payment, lead_time_days. Use null for missing facts. Preserve currencies and units. Do not infer shipping costs or promise delivery. Return JSON only.\n\nExample only: Cedar offers 250 units at USD 5.20 each, MOQ 200, EXW Ningbo. Payment: 30% deposit, 70% before dispatch. Lead time is not stated."
}
],
"max_tokens": 256,
"stream": false
}'This builder makes no API call. Site key issuance follows the current availability and free limits. Never include a real key in a shared request file.
Use these settings in n8nTry the site’s free pool
Limited free API access is available. Daily and per-key concurrency limits apply.
At most 20 attempts per network or verified account per UTC day, 256 output tokens per request 1 active request per key and 2 active site requests. Failed attempts count toward safety limits. No paid fallback. Use one short item; long text and batches may exceed this output limit.
Open free key accessCheck supplier-quote fields
Fictional source for the example:
Example only: Cedar offers 250 units at USD 5.20 each, MOQ 200, EXW Ningbo. Payment: 30% deposit, 70% before dispatch. Lead time is not stated.
The starting JSON is handwritten example data, not a live model response. This checker validates fields and types, not whether a model’s claims are true.
Text stays in this page’s memory. It is not uploaded or saved by the checker.