选择日期
antd_date_pickPick a date in an Ant Design DatePicker by clicking the input and selecting the target day from the portal calendar. Provide the element ID and date to automate date selection.
Instructions
操作 AntD 日期选择器(DatePicker):真实点击输入框,在 portal 日历中点击目标日期。
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": {
"element_id": "<element_id>",
"date": "<date>"
},
"name": "antd_date_pick"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | 目标日期,格式 YYYY-MM-DD | |
| tab_id | No | 标签页 id,省略时用最新标签页 | |
| timeout | No | 等待日历浮层出现的秒数 | |
| element_id | Yes | 日期输入框元素的 element_id(find_element 定位 '.ant-picker' 等) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| message | Yes |