Conversation history
historyRetrieve both directions of the conversation between the current session and a counterpart local coding-agent session, ordered oldest to newest, to review prior messages.
Instructions
Show both directions of the conversation between this session and another session, sorted oldest to newest.
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": {
"with": "<with>"
},
"name": "history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| with | Yes | Counterpart session id, label, unique prefix, or unambiguous tool name. | |
| limit | No | Maximum messages to return (most recent). Defaults to 50. |