ruyi_intercept_wait
Wait for and consume one intercepted request or response from the queue. Returns URL, method, headers, body, and response status; if none arrive before timeout, returns timedOut=true.
Instructions
等待并消费一个拦截到的请求/响应。队列模式:每次调用返回一个。超时返回 timedOut=true。返回 url、method、headers、body、responseStatus 等。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageIdx | No | ||
| timeout | No | 等待超时(秒),默认 10 |