Get Unix Timestamp
get_timestampConvert a date-time string into a Unix timestamp in milliseconds. Specify a date in YYYY-MM-DD HH:mm:ss format or default to the current time.
Instructions
Converts a date-time string to a Unix timestamp in milliseconds.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_timestamp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| time | No | The time to convert (format: YYYY-MM-DD HH:mm:ss). Defaults to current time |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timestamp | Yes |