Mark the form as about to be sent
mark_submittedRecords that you're about to submit a form with this address: call it just before you press the button. The form is a sign-up (flow sign_up, the default), sign-in, password reset or magic link form, on site (the page's host and path, with any part of the path that has an email address, an ID, a long number or a token in it hidden; never its query or fragment). The time is Proxy Mail QA's own, taken when this call arrives: pass the answer's submitted_at to wait_for_code or wait_for_link as since. The wait that finds the code or link then returns time_to_email: after_seconds from the submit, split into their_seconds (the app and its email provider) and our_seconds (Proxy Mail QA), emails_for_submit when one submit brought two codes, after_wait_gave_up when it came after a wait found nothing, and usual: the site's median and slowest time and whether today is much slower than usual. If you call it after the form was sent, a fast email can arrive first: that email gets no time_to_email from it, and since must be the time just before you submitted, not submitted_at. Never record the form's contents. With run_id, the report says the form was sent and how long each email took after 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": {
"address": "<address>"
},
"name": "mark_submitted"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flow | No | Which form: sign_up, sign_in, reset, magic_link or other. | sign_up |
| site | No | The page the form is on, such as https://staging.example.com/sign-up. Kept as its host and path, with any part of the path that has an email address, an ID, a long number or a token in it hidden; never its query or fragment. | |
| test | No | With run_id: the test or step this call belongs to, shown beside what it saw in the report. | |
| run_id | No | A run from start_run: what this call sees is added to its report. | |
| address | Yes | A test address in this project. A variant works too (capitals, or a +tag such as name+o'brien@…): it acts on the plain address, and a wait on a +tag variant only finds mail sent to it. |