get_current_time
Retrieve the current time in a specified format with customizable date offsets and future date options using this utility from SearchAPI MCP Server.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
days_offset | No | 日期偏移量 | 0 |
format | No | 日期格式 | iso |
future_days | No | 未来天数 | 7 |
return_future_dates | No | 是否返回未来日期 | false |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"days_offset": {
"default": "0",
"description": "日期偏移量",
"type": "string"
},
"format": {
"default": "iso",
"description": "日期格式",
"type": "string"
},
"future_days": {
"default": "7",
"description": "未来天数",
"type": "string"
},
"return_future_dates": {
"default": "false",
"description": "是否返回未来日期",
"type": "string"
}
},
"type": "object"
}