Post weekly digest to Slack
post_weekly_digest_to_slackGenerate a weekly profit digest with KPI changes, top leaks, inventory actions, and cash low point, then post it to Slack after preview and confirmation.
Instructions
Builds the weekly profit digest (KPIs vs last week, top leaks, inventory actions, cash low point) and posts it to Slack. Safe by default: returns a dry-run preview unless the server was started with PROFIT_LENS_ENABLE_SLACK_WRITES=true and a SLACK_WEBHOOK_URL, and even then only posts when called with confirm: true. Show the preview to the user and get their OK before confirming.
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": "post_weekly_digest_to_slack"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Optional short note from the user, shown at the top of the digest. | |
| confirm | No | Must be true to actually post. Leave false to preview. |