heartbeat
Sends a periodic mini-anchor every 10 messages to prevent context drift and maintain conversational continuity.
Instructions
Periodic re-anchoring to prevent context drift - returns mini-anchor every 10 messages
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "heartbeat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Force anchor return regardless of message count | |
| persona_id | No | The persona ID | ambassador |
| message_count | No | Current message count in the session |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Mini-anchor text, or the heartbeat acknowledgement | |
| persona | No | Human-readable persona name; present only when anchored | |
| anchored | Yes | True when a mini-anchor was returned rather than a plain acknowledgement | |
| personaId | Yes | The persona used for re-anchoring | |
| messageCount | Yes | Message count supplied by the caller |