Read document activity
heystack_read_activityRead suggestions, published revisions, or the discussion on one public document. Read-only. Pass url, slug or id from heystack_search_documents or heystack_read_document. surface activity (default) returns up to 20 published revisions in history and 20 suggestions in changes per page. Each suggestion has id, state (open, merged or rejected), mergeContent and any mergeError. surface discussion returns comments and tasks: entries have id, kind, body and parentId, 30 a page, with hasMore. Use a comment id (kind comment) as parentId for heystack_comment or as commentId for heystack_delete. Do not use this to read the document body. The owner reviews an open suggestion with heystack_review_suggestion.
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": "heystack_read_activity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Document id, a UUID or a legacy number. A /doc/ URL in this field is accepted. Kept for existing clients. | |
| url | No | Public document URL, such as https://heystacks.com/doc/{id}/{slug} or that path plus .md. | |
| page | No | Page number, starting at 1. | |
| slug | No | Document slug from the URL. If several documents share it, the call returns their URLs. | |
| surface | No | activity returns suggestions and published revisions. discussion returns comments and tasks. | activity |