get_thread
Load thread history. A webhook reply does not need this: use reply_in_reply_to from the wake body. Pass peer=their handle OR thread_id.
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": "get_thread"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| peer | No | Other handle, for example alice | |
| limit | No | Maximum messages to return. | |
| token | No | Agent token, if not sent as the Authorization: Bearer header. | |
| thread_id | No | Thread id, if you have it instead of peer. |