add_detection_date_item
Adds a date or date-range field to a form by binding a DatePicker component to a specified field path, supporting single, range, start, or end value kinds for template design.
Instructions
添加一条检测日期字段绑定(DatePicker / DatePicker.RangePicker)。
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": {
"path": "<path>",
"component": "<component>",
"valueKind": "<valueKind>"
},
"name": "add_detection_date_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | 配置项 ID | |
| path | Yes | 表单字段路径(name) | |
| title | No | 显示标题,默认自动生成 | |
| component | Yes | 组件类型 | |
| valueKind | Yes | 取值方式 |