generate_weekly_summary
Create structured weekly productivity summaries by analyzing your Slack messages, Calendar events, and Gmail activity with customizable output formats and sections.
Instructions
Generate a comprehensive weekly productivity summary from Slack, Calendar, and Gmail data. Returns structured summary with optional HTML/Markdown output.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days_back | No | Number of days to analyze (default: 7) | |
| start_date | No | Optional start date in YYYY-MM-DD format (overrides days_back) | |
| end_date | No | Optional end date in YYYY-MM-DD format (default: today) | |
| output_format | No | Output format(s) to generate (default: both) | both |
| save_to_file | No | Whether to save output to summaries directory (default: true) | |
| include_sections | No | Sections to include (default: all) |
Input Schema (JSON Schema)
{
"properties": {
"days_back": {
"default": 7,
"description": "Number of days to analyze (default: 7)",
"maximum": 90,
"minimum": 1,
"type": "integer"
},
"end_date": {
"description": "Optional end date in YYYY-MM-DD format (default: today)",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"type": "string"
},
"include_sections": {
"description": "Sections to include (default: all)",
"items": {
"enum": [
"executive",
"time",
"achievements",
"communication",
"todos",
"insights",
"metrics"
],
"type": "string"
},
"type": "array"
},
"output_format": {
"default": "both",
"description": "Output format(s) to generate (default: both)",
"enum": [
"both",
"html",
"markdown",
"json"
],
"type": "string"
},
"save_to_file": {
"default": true,
"description": "Whether to save output to summaries directory (default: true)",
"type": "boolean"
},
"start_date": {
"description": "Optional start date in YYYY-MM-DD format (overrides days_back)",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"type": "string"
}
},
"type": "object"
}