get_protocol
Read the synchronization protocol message by message. Use it when you are writing or debugging a client, or want to know what a frame's kind number means. Returns the frame header length, the two connections, and the number, sender and purpose of every message.
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_protocol"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lanes | Yes | the two connections of one session | |
| version | Yes | the protocol version | |
| messages | Yes | every message kind | |
| frame_header_bytes | Yes | the fixed header before every message body |