MIT License
219
5

current_time

Retrieve the current date and time in a specified format and timezone using the time-mcp server. Configure outputs to meet your requirements for precise time awareness.

Instructions

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" }

You must be authenticated.

Other Tools from time-mcp

Related Tools

ID: 32g7puvq2g