Get Week of Year
get_week_yearFind the week number and ISO week number for any date. Use a specific date or default to today's date.
Instructions
Returns the week number and ISO week number for a given date.
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_week_year"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | The date to check (e.g., "2025-03-23"). Defaults to current date |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| week | Yes | ||
| isoWeek | Yes |