sync_matrix
Sync Matrix room messages into a searchable memory store using pagination checkpoints to avoid re-ingesting messages.
Instructions
Sync Matrix room messages into memory using the Matrix Client-Server API.
Fetches messages from a Matrix room and stores them for search. Uses a per-room pagination token checkpoint to avoid re-ingesting messages.
Requires environment variables: MATRIX_HOMESERVER - e.g. https://matrix.org MATRIX_ACCESS_TOKEN - user access token MATRIX_ROOM_ID - default room to sync (optional if room_id provided)
Args: room_id: Matrix room ID to sync (e.g. !abc123:matrix.org). Uses MATRIX_ROOM_ID env var if not provided.
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": "sync_matrix"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| room_id | No |