CodyCody

MCP tools

ccw_instance_logs

The execution log of one instance — every step started, completed, waited or failed, with the engine's notes.

Parameters

Name Type Required Meaning
instance_id string yes The instance whose log to read.
limit number no Maximum number of entries.

Returns

Log entries in order: step starts and completions with their result status, gate waits, review verdicts and forced approvals, sub-workflow starts, and failures with their reason.

When to use it

Debugging a failed run — the log names the step that failed and why — or auditing what a run did before trusting its output. A review loop that hit its iteration limit is logged with forcedApproval: true, which is worth looking for.