JSON Lines checker: locate the bad line in an NDJSON stream
submit_json_ndjson_checkValidate a JSON Lines (NDJSON) stream and report the line number and parser error of every line that is not valid JSON, so a broken export can be fixed without bisecting it. Choose this when a JSON Lines or NDJSON file fails to load and you need the exact line number and parser error rather than bisecting the file. Do not choose this for a single multi-line JSON document; use json-schema-validation or json-key-audit. Example requests: Find the broken line in this JSON Lines export. | Which lines of this NDJSON file are invalid? | Validate this jsonl stream before I load it.
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": {
"inputs": "<inputs>",
"authorized_by": "<authorized_by>"
},
"name": "submit_json_ndjson_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputs | Yes | ||
| quote_id | No | The quote_id returned by POST /v1/jobs. Required to authorize a priced capability; the service rejects a priced job that does not name the quote it issued. | |
| authorized_by | Yes | Identifier of the human or agent authorizing this job. | |
| accepted_price | No | The amount accepted, exactly as quoted (for example "5.00" or 5). Checked against the stored quote, so a price that moved between quote and authorize is refused rather than silently absorbed. Optional, but sent to make the acceptance explicit. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quote | No | ||
| state | Yes | ||
| job_id | Yes | ||
| artifacts | No | ||
| access_token | No | Per-job credential. Present it as the X-Job-Token header to read the job or list it. Keep it; it is the only credential for this job. | |
| verification | No | Independent verification. verification.ok = false means the job failed, not a partial success. | |
| capability_id | No |