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 等。
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_intercept_wait"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageIdx | No | ||
| timeout | No | 等待超时(秒),默认 10 |