days_in_month
Calculate the number of days in any month, including first and last day details, for accurate date planning and scheduling.
Instructions
Get the number of days in a month.
Args: year: Year (e.g., 2025). Defaults to current year. month: Month (1-12). Defaults to current month.
Returns: Number of days in the month, plus first/last day info.
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": "days_in_month"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | ||
| month | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||