Create manual series from expense
figa_create_manual_series_from_expenseCreate an expense group and attach one saved one-time expense as its first member atomically, retaining the expense ID. expectedEditContext is the unchanged context of the source expense version; a changed or newly assigned source returns EXPENSE_WRITE_CONFLICT with no group created. name is required. categoryInput, recipientInput, tagInputs and currency define defaults for future expenses, accepting existing IDs or local drafts. Existing amount, date, Paid status, FX, description, tags and attachments are unchanged; no workspace total changes. MANUAL_SERIES_SOURCE_ASSIGNED means already in a group; MANUAL_SERIES_SOURCE_INELIGIBLE means a scheduled occurrence or series bill cannot start a group. 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>",
"name": "<name>",
"expenseId": "<expenseId>",
"expectedEditContext": "<expectedEditContext>"
},
"name": "figa_create_manual_series_from_expense"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Group name, 1-200 characters. | |
| currency | No | Default currency, one of the supported currency codes; omitted means the workspace currency. | |
| expenseId | Yes | ID of the saved one-time expense. | |
| 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. | |
| tagInputs | No | Default tags, at most 50: accessible tag IDs or drafts {name}. | |
| workspaceId | Yes | ID of a workspace selected for this connection. Other workspaces are rejected. | |
| categoryInput | No | Default category: an accessible category ID, a category name, or a local draft {name, parentId or parentName}. | |
| recipientInput | No | Default recipient: an accessible recipient ID, or a name that reuses a matching recipient or creates one. | |
| expectedEditContext | Yes | editContext from the read of that expense, unchanged. |