Set manual series archived
figa_set_manual_series_archivedArchive (archived: true) or restore (archived: false) an expense group. expectedRevision identifies the current group version; a mismatch returns MANUAL_SERIES_WRITE_CONFLICT. Archiving preserves the ID, defaults and all editable member expenses, while blocking new membership. Restoring reopens the same group with its previous members. An unchanged state is a no-op. No expenses or totals are created, deleted or changed. This write requires explicit user intent. A UUID requestId identifies one intended operation; identical retries retain the same ID and payload. A missing response or IDEMPOTENCY_OUTCOME_UNKNOWN, IDEMPOTENT_REQUEST_IN_PROGRESS or INTERNAL_SERVER_ERROR leaves the outcome uncertain, not a confirmed failure. A new ID can duplicate an uncertain write. Corrected inputs after a definite validation or business refusal constitute a new operation. The transport response cache lasts 24 hours; longer replay guarantees are stated above.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"workspaceId": "<workspaceId>",
"requestId": "<requestId>",
"seriesId": "<seriesId>",
"archived": "<archived>",
"expectedRevision": "<expectedRevision>"
},
"name": "figa_set_manual_series_archived"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| archived | Yes | true archives the group, false restores it. | |
| seriesId | Yes | ID of the expense group. | |
| requestId | Yes | Caller-generated UUID identifying this one intended write. A retry of the same write reuses the ID and payload; the same ID with different input returns IDEMPOTENCY_KEY_MISMATCH. | |
| workspaceId | Yes | ID of a workspace selected for this connection. Other workspaces are rejected. | |
| expectedRevision | Yes | Current revision of the group, as returned by the group read. |