Read a BrainChain order
brainchain_get_taskRead an order's payment, status, grade, result text, and refund transaction, retrying until done. Check next to see what the order state means and what to do.
Instructions
Read an order from brainchain_post_task: the payment, the task's status on BrainChain, Jev's grade, the result text once the work is accepted, and the refund transaction if it is not. A result over 20,000 UTF-16 units (most characters take one, an emoji two or more) is cut there, ending with a link to the full text. Call again after retryAfterSeconds until done is true. next says what the order's state means and what to do. A rejected task stays not done until the refund is sent, when the dispute window closes. Two things end it without a refund transaction: a ruling that pays the model, and a refund the desk gives up sending, when state reads refund-failed and next says who to write to.
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": {
"order": "<order>"
},
"name": "brainchain_get_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order | Yes | Order id returned by brainchain_post_task. |