temporary-storage_update_segment_batch
Replaces texts at existing positions, adds a line to the note, or both, in one step. WRITES data: confirm with the user first. It cannot add, remove or reorder segments or change the language: to add texts at the end use append_segment_batch, for another language use add_segment_batch. Unknown or repeated positions are rejected and nothing is changed.
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": {
"request": "<request>"
},
"name": "temporary-storage_update_segment_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Log of short lines written by the model, one per write, oldest first: what was done, the source batch ID and what is pending. Not verified by the store. | |
| batchId | No | Reusable batch ID, starts with SB-, for get_segment_batch, update_segment_batch and append_segment_batch. | |
| groupId | No | Group this batch belongs to: SG- followed by the same code as in the batch ID, e.g. batch SB-K7M2QX-2 belongs to group SG-K7M2QX. Use it with get_segment_group to see the other batches. | |
| language | No | ||
| sequence | No | Creation order within the group: 1 is the first batch, and the highest sequence is the newest batch. | |
| createdAt | No | ||
| expiresAt | No | Current UTC expiry of the entire group, 6 hours after its last successful write. | |
| updatedAt | No | UTC time of the last change to this batch's texts or note. It does not reflect creation order; use sequence for that. | |
| segmentCount | No |