get_daily_pnl
Compute daily P&L by retrieving revenue, COGS, and gross profit from the current order set, using Shopify inventory item costs and excluding refunded orders.
Instructions
Revenue, COGS, and gross profit across the current order set.
COGS is resolved per line item via the Shopify inventory item cost field. Refunded orders are excluded.
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_daily_pnl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||