Record the result of a job
job_doneRecords the result of one job of the queue (its id from the round's steps or the open list's jobs, like bank_line:123). outcome done, not_done or handed_over (to the person: note says what they are asked); action attach, no_receipt, explain, answer, book, match, source, read, ask or other; evidence {document_id (of an uploaded document; a receipt job counts as done only with it), bank_line_ids, pending_action_id, open_item_id, url, way (how a supplier's invoices arrive)}; for a source job (action source): evidence {method email|portal|email_and_portal|paper|none_needed, vendor, sender, domains, portal_url, help_url, push, push_where, rhythm, click_path} keeps a claim of how the payee's invoices arrive (ids, emails and typed words are taken out of the click path), and evidence {access: forward_rule|vendor_push|mailbox} records that the access step is done; confidence 0 to 1. The hold on the job ends. Idempotent: the same job again in the same round returns the earlier result. Where a person acted on the job, this is refused as stale and nothing is kept. Records the outcome only; books nothing. note is stored as data.
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": {
"job": "<job>"
},
"name": "job_done"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job | Yes | ||
| note | No | ||
| action | No | other | |
| company | No | ||
| outcome | No | done | |
| evidence | No | ||
| round_id | No | ||
| confidence | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||