finish_agent_session
Update hosted finish agent session using privacy-filtered project metadata.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| outcome | No | ||
| summary | Yes | ||
| blockers | No | ||
| decisions | No | ||
| projectId | Yes | Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL. | |
| sessionId | Yes | Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL. | |
| codeChanges | Yes | Required completion declaration. Submit every code file changed during this session with its actual unified diff. Use [] only when no code changed. Do not include secrets or unrelated pre-existing edits. | |
| validations | No | ||
| idempotencyKey | Yes | Caller-generated retry key. Reuse the same key and identical payload only to retry the same mutation; use a new key for a new action. | |
| expectedVersion | Yes | Current version of the target record from its latest read or mutation result. A stale value causes a version conflict; re-read before retrying. |