datetime_parse
Parse an ISO date string into year, month, day, hour, minute, and second components for date handling and validation.
Instructions
Parse an ISO date string and return its components {year, month, day, hour, minute, second}.
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": {
"date_string": "<date_string>"
},
"name": "datetime_parse"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date_string | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |