ruyi_capture_wait
Wait for and fetch network capture results after starting a capture, returning full request/response payloads while draining RPC packets to prevent bridge overload.
Instructions
等待并获取抓包结果。在调用 ruyi_capture_start 后使用。默认返回完整 request/response body;内部按单包 RPC 排空,避免大批量补读拖垮 bridge。
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": "ruyi_capture_wait"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | 期望捕获的请求数,默认 5 | |
| pageIdx | No | ||
| timeout | No | 等待超时(秒),默认 10 | |
| maxBodyChars | No | 每个 request/response body 的显式字符上限;0 表示不截断,默认 0 |