Collate Project Sessions Energy
collate_project_sessions_energyAggregate total and per-session energy and CO2eq for each Claude Code chat in a project using local session logs, with everyday equivalents.
Instructions
Total + per-session energy and CO2eq for every Claude Code chat in the current project.
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": "collate_project_sessions_energy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| provider | Yes | Coding-agent provider these sessions belong to ('claude' or 'codex'). | |
| sessions | Yes | Per-session breakdown of request count and estimated energy. | |
| comparisons | Yes | Everyday-activity equivalents for the total estimated CO2eq. | |
| project_dir | Yes | Absolute path to the project's session-log directory that was scanned. | |
| session_count | Yes | Number of sessions included in this total. | |
| estimated_kg_co2 | Yes | Estimated CO2-equivalent emissions for the total, in kilograms. | |
| total_estimated_kwh | Yes | Total estimated energy across all included sessions, in kilowatt-hours. |