The reader's diagnostic codes
qasm_diagnosticsEvery code the OpenQASM reader gives (each refusal and warning carries one, as [Q103] at the end of its message): its outcome (refused, lowered, carried, preserved or warned) and its meaning; and beside them, under job_codes, the codes of what is asked of a program ([J011]: the request, the method, an intent, a repair, the host). A code never changes meaning once released. Give code for one of either.
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": "qasm_diagnostics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | One code, as Q103 or J011. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||