Consolidate Authors
team_consolidate_authorsRewrite past journal entries matching an author's aliases to a single canonical name, keeping author records consistent. Requires admin role and updates database entries.
Instructions
Retroactively rewrite all past entries matching an author's aliases to the canonical author name. Requires admin role. This operation modifies database entries.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace_id | No | Optional workspace isolation identifier (e.g. "alpha"). Do not use numeric project IDs or "workspace" as the key. | |
| canonical_author | Yes | The canonical author name. All entries matching any of this author's aliases will be updated to use this canonical name. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Error code (e.g. VALIDATION_ERROR, INTERNAL_ERROR) | |
| 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 | |
| updated_count | No | ||
| canonical_author | No | ||
| aggregated_errors | No | Details of individual errors in a multi-step operation |