time-mcp

by yokingma
Verified

current_time

Get the current date and time.

Input Schema

NameRequiredDescriptionDefault
formatYesThe format of the time, default is empty stringYYYY-MM-DD HH:mm:ss
timezoneNoThe timezone of the time, IANA timezone name, e.g. Asia/Shanghai

Input Schema (JSON Schema)

{ "properties": { "format": { "default": "YYYY-MM-DD HH:mm:ss", "description": "The format of the time, default is empty string", "enum": [ "h:mm A", "h:mm:ss A", "YYYY-MM-DD HH:mm:ss", "YYYY-MM-DD", "YYYY-MM", "MM/DD/YYYY", "MM/DD/YY", "YYYY/MM/DD", "YYYY/MM" ], "type": "string" }, "timezone": { "description": "The timezone of the time, IANA timezone name, e.g. Asia/Shanghai", "type": "string" } }, "required": [ "format" ], "type": "object" }
ID: 32g7puvq2g