Get Proxy Frames
get_proxy_framesRetrieve recent bidirectional transparent proxy frames between host and PLC. Returns latest entries (c2s and s2c), up to 1000 in ring buffer, with adjustable limit.
Instructions
取代理录制的双向透传帧 (direction: c2s=上位机→PLC, s2c=PLC→上位机)。
取最新 limit 条; 环形缓冲硬上限 1000 条 (limit 超限自动截到缓冲 大小, limit<=0 返回空)。
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": {
"port": "<port>"
},
"name": "get_proxy_frames"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | ||
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |