temporary-storage_create_segment_group
Stores ordered texts in a new private working group and returns its groupId (SG-...) and the batchId (SB-...) of its first batch. Use it to keep texts for later steps instead of repeating them in the conversation. WRITES data: confirm with the user first. Get language id and code together from list_languages. sourceId is an optional label, e.g. a project ID, for finding the group later with list_segment_groups; nothing is imported. The group expires 6 hours after its last write. Texts are not echoed back.
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_create_segment_group"
}
}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 |