Attach a document to a line
attach_documentMove an Inbox document onto the line you chose (from list_lines, or a suggestion in list_inbox). The line becomes found (check) and the thread says so. Set the line done afterwards only if you checked that amount, date and merchant match.
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": {
"id": "<id>"
},
"name": "attach_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The document id, from list_inbox. | |
| line | No | The line's ID, like #1042 (list_lines and read_line show it): names the line alone, instead of month and number. | |
| month | No | The month as YYYY-MM, like 2026-09; with number, or give line instead. | |
| number | No | The line's number in the month, like 12; with month, or give line instead. |