Update Team Entry
team_update_entryUpdate an existing team journal entry while preserving its markdown section structure; use optimistic locking via expected_version and clear metadata fields by passing null.
Instructions
Update a team entry. When updating content, preserve the existing markdown structure (## section headers). Do NOT restructure or add new top-level sections unless explicitly requested. Pass expected_version for optimistic locking. Pass null to clear a metadata field. Supports content, type, tags, and 11 metadata fields. Requires TEAM_DB_PATH.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | ||
| pr_url | No | ||
| content | No | Updated markdown content. Preserve the existing ## section header structure. For session summaries, keep the ## Accomplished / ## Unfinished / Blocked / ## Context for Next Session / ## Commits structure intact. Do NOT restructure or add new top-level sections unless explicitly requested. | |
| entry_id | No | ||
| issue_url | No | ||
| pr_number | No | ||
| pr_status | No | ||
| entry_type | No | ||
| session_id | No | Agent session ID for thread isolation (usually conversation ID). | |
| is_archived | No | ||
| trust_score | No | Heuristic score (0.0-1.0) indicating confidence (0.3-0.5 for unverified, 0.9+ for verified). | |
| auto_context | No | ||
| impact_score | No | Heuristic score (0.0-1.0) indicating blast radius (0.9+ for core architecture, 0.1 for simple docs). | |
| issue_number | No | ||
| workspace_id | No | Optional workspace isolation identifier (e.g. "alpha"). Do not use numeric project IDs or "workspace" as the key. | |
| project_owner | No | ||
| workflow_name | No | ||
| project_number | No | ||
| workflow_run_id | No | ||
| workflow_status | No | ||
| expected_version | No | ||
| significance_type | No | ||
| validation_status | No | Current validation status of the entry (passed, none, failed). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Error code (e.g. VALIDATION_ERROR, INTERNAL_ERROR) | |
| entry | No | ||
| error | No | Human-readable error message | |
| details | No | Additional error context | |
| success | No | ||
| category | No | Error category (validation, query, connection, internal) | |
| suggestion | No | Suggested fix for the error | |
| recoverable | No | Whether the error is recoverable | |
| aggregated_errors | No | Details of individual errors in a multi-step operation |