Add a turn (store mode)
turn_addAppend a message to the transcript. In store mode, if auto-compaction is enabled and pressure exceeds the threshold, the transcript is compacted and the compacted block returned.
Instructions
Append a message to the server-held transcript. Store mode only. When COMPACTION_AUTO=true and pressure crosses the compact-now threshold, compaction fires automatically and the compacted block is returned under autoCompacted.
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": {
"role": "<role>",
"content": "<content>"
},
"name": "turn_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | ||
| pinned | No | ||
| content | Yes | ||
| sessionId | No |