session_heartbeat
tools/call
Report session status, progress, and the current step. Pending human instructions are delivered automatically; unacknowledged instructions may be redelivered until the agent acknowledges them. Each instruction names who sent it in sender { actorId, displayName }.
Scopes
heartbeat:agent_sessions
Inputs
- sessionIdstringRequired
- Session ID
- status"active" | "waiting" | "blocked"
- progressPercentnumber
- currentStepstring
- stepIndexinteger
- Optional 1-based position of the current step. Send with stepCount.
- stepCountinteger
- Optional total planned steps. Send with stepIndex.
- acknowledgedInstructionIdsstring[]
- Instruction IDs the agent has received and processed.
- instructionCursorstring
- Opaque continuation cursor returned with the previous pending-instruction page
- idempotencyKeystringRequired
- Retry key you choose. The same call sent again with the same key within 24 hours writes nothing twice: if an answer is lost or unclear, send the same call with the same key. Use a new key for a new change
Returns
The session status and any pending human instructions. A call returns content[0].text with the JSON result and structuredContent.result with the same value.
Listed when
The connection has agent access and every scope the tool needs.