Set a date, whatever library owns the calendar
qa_pick_dateSets an exact date in a date field in one call, typing it first and falling back to steering the picker when the value does not stick.
Instructions
Put an EXACT date into a date field in ONE call — including the ones a value cannot be written to. It tries the cheap way first (type the date, press Enter, check it stuck), and only if that fails does it open the picker and steer it: the year view for MUI X, the clickable year in the header for Ant Design, the month/year dropdowns for react-datepicker, and plain arrows for anything else — stepping until the calendar header agrees, then clicking the day. Use this instead of writing to a date field whose value never sticks: MUI X DateField is three contenteditable sections the component rebuilds from its own state, so a written "14" can land in the YEAR and the day stay empty. Returns via (typed or calendar) and a trail of what it actually had to do, so a picker this does not recognise is visible rather than silent. Requires the one-time “Agent control” confirmation in the panel; without it the extension answers consent-required and does nothing.
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": {
"name": "<name>",
"date": "<date>"
},
"name": "qa_pick_date"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | The date as dd/mm/yyyy — the exact one the form must end up with | |
| name | Yes | The field's accessible name, e.g. "Owner date of birth" | |
| tabId | No | Target tab (from qa_tabs); omit for the active tab | |
| open_label | No | Name of the button that opens the picker, when the field itself does not (MUI renders "Choose <field name>") |