Export metrics / work log
export_metricsExport project metrics to JSON or CSV for external BI and spreadsheet tools. Select worklog for per-event details or completions for status counts, providing read-only data.
Instructions
Flat-file export of analytics for external BI/spreadsheet use, mirroring export_tasks: what:'worklog' exports the per-event work log (date, ticket, model, tokens, additions/deletions); what:'completions' exports status counts + completions-by-date. Formats: json or csv. Read-only.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project": "<project>"
},
"name": "export_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| what | No | worklog | |
| format | No | json | |
| project | Yes |