workflow_reconcile
Repairs missing Workflow run data by scanning on-disk workflow files and ingesting their telemetry after the OS was offline. Idempotent, safe to re-run, with optional filters by session or project.
Instructions
Reconcile finished Workflow runs from disk into the OS (repair after OS was offline).
Scans ~/.claude/projects/<slug>/*/workflows/wf_*.json and ingests each run's
full telemetry (tokens/duration/per-agent). Idempotent — safe to re-run.
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": "workflow_reconcile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | No | Limit the scan to a single CC session's workflows (empty = all sessions). | |
| project_dir | No | Limit the scan to the project owning this directory (empty = all projects). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||