Save where a run left off
runs_markSaves a repeated search's place: for each mailbox, the moment this run began reading it. That moment is the mailbox's mark, and the next run under the same run name reads from ten minutes before it. It is called once the run's result is ready for the person, so that no mail the person has not seen is passed over. Pass the run name and every runMark this run's messages_list_all_mailboxes answers carried. An answer that left results out, counting them under omitted, carries no runMark. Only the answer holding a mailbox's last page can carry a runMark for it. This call reaches no mailbox, changes no mail and does not count toward the person's daily limit of actions. It overwrites the mark in Multi Mail's own record and only ever moves it to a later moment. Passing the same runMarks again changes nothing. One runMark from another run name or another person refuses the whole call, and then no mark is saved. The record keeps at most 50 run names for each person. Saving a 51st name forgets the name whose newest mark is oldest. If runs_mark is not called, the next run reads again from each mailbox's saved mark, repeating some mail but missing none. A mailbox with no saved mark is read for the last 24 hours and ten minutes. A run made less often than once a day can then miss older mail in 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": {
"run": "<run>",
"runMarks": "<runMarks>"
},
"name": "runs_mark"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run | Yes | The run name, as the searches were given it. | |
| runMarks | Yes | Every runMark this run's answers carried, each exactly as given. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run | Yes | The run whose mark was saved. |