Wait for new 2ools project activity
wait_for_project_activityWait for up to 20 seconds to receive new project activity events, returned oldest-first for ordered processing. Use a cursor to skip already-seen events and get a resync signal when pagination is required.
Instructions
Wait up to 20 seconds for attributable project events newer than a head_cursor or prior next_cursor. Returns events oldest-first so an outside agent can process them in order. If resync_required is true, paginate get_project_activity instead of advancing the cursor.
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": {
"project_id": "<project_id>",
"after_cursor": "<after_cursor>"
},
"name": "wait_for_project_activity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum new events to return. | |
| project_id | Yes | 2ools project ID. | |
| after_cursor | Yes | Opaque head_cursor from get_project_activity or next_cursor from a prior wait. | |
| timeout_seconds | No | Maximum time to wait before returning timed_out=true. |