datetime_to_timestamp
Convert a datetime string to a Unix timestamp (seconds since epoch) for precise time calculations.
Instructions
[datetime] Convert a datetime string to a Unix timestamp (seconds since epoch).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"dt_str": "<dt_str>"
},
"name": "datetime_to_timestamp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dt_str | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |