Update service dates
figa_update_service_datesAtomically save a reviewed service-month dates draft; all date changes commit or none do. dates includes its own UUID requestId, which may equal the outer requestId. BILL_WRITE_CONFLICT means settings or activity changed after the draft was read; fresh revisions on an old draft would bypass its stale-write protection. Identical retries return the original stored result without repeating the write; that result need not reflect current state. A no-op reports changed: false. 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>",
"expenseId": "<expenseId>",
"dates": "<dates>"
},
"name": "figa_update_service_dates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dates | Yes | The reviewed draft: month (YYYY-MM); changes: up to 31 unique {date: YYYY-MM-DD in that month, excluded}; expectedSettingsRevision and expectedActivityRevision from the current calculation; requestId: UUID of this draft commit. | |
| expenseId | Yes | Template ID of the service billed per session. Occurrence IDs and virtual aliases are rejected. | |
| 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. |