record_turn
Ingest a single user-assistant exchange into the session graph. Call after each response in agent mode to incrementally update the graph and get node/edge counts.
Instructions
Ingest one user/assistant exchange into the session graph.
Call this after each response in agent mode. The graph is updated incrementally — no full re-extraction required.
Returns a brief acknowledgement with node/edge counts.
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": {
"user_message": "<user_message>",
"assistant_message": "<assistant_message>"
},
"name": "record_turn"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_message | Yes | ||
| assistant_message | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |