ConvertTimestamps
Convert timestamps into readable dates or times by specifying a format, facilitating clear data interpretation and management within DataWorks MCP Server workflows.
Instructions
将时间戳转成日期或时间。返回内容如果有时间戳,透过此Tool显示成为日期或时间。
Input Schema
Name | Required | Description | Default |
---|---|---|---|
Format | No | 日期格式,如:YYYY-MM-DD HH:mm:ss | |
Timestamps | Yes | 时间戳数组 |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"Format": {
"description": "日期格式,如:YYYY-MM-DD HH:mm:ss",
"type": "string"
},
"Timestamps": {
"description": "时间戳数组",
"type": "array"
}
},
"required": [
"Timestamps"
],
"type": "object"
}