Read Kiro session events
kiro_eventsReads normalized events after a cursor from a session or headless job feed—agent text, tool calls, plans, permissions, turns, and config changes—and long-polls for updates, returning the next cursor.
Instructions
Read normalized events after cursor from a session's (or headless job's) event feed: agent text, tool calls, plan updates, permission requests, turn boundaries with credits, mode and config changes, steering, workflow, and notices. Long-polls up to wait_s when nothing is newer. A message or tool call that changes is re-sent with a new seq: keep the latest per segment or toolCallId. Thoughts are left out unless include_thoughts. Returns next_cursor, lowest_cursor (gap: true when older events were dropped), the turn status, and pending permissions.
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": "kiro_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| cursor | No | ||
| job_id | No | ||
| wait_s | No | Seconds to wait (default 0, max 55). | |
| session_id | No | Kiro session id (sess_<uuid>). | |
| include_thoughts | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gap | Yes | ||
| job | Yes | ||
| turn | Yes | ||
| events | Yes | ||
| job_id | Yes | ||
| status | Yes | ||
| session_id | Yes | ||
| next_cursor | Yes | ||
| lowest_cursor | Yes | ||
| omitted_thoughts | Yes | ||
| pending_permissions | Yes |