What week number is it?
hopi_week_numberFind the ISO 8601 week number for a date. Dates use the YYYY-MM-DD format and default to today. ISO weeks run Monday to Sunday and week 1 holds the year's first Thursday. Returns the week number, ISO year, and the Monday and Sunday of that week. Source: https://hopi.co.uk/week-number/
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": "hopi_week_number"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Optional date in YYYY-MM-DD format (defaults to today) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ||
| week | No | ||
| isoYear | No | ||
| summary | Yes | ||
| weekEnd | No | ||
| weekStart | No | ||
| source_url | Yes | The tool's page on hopi.co.uk (cite or open to check the figure) |